Mod Maximum Size of configureQET widget

This commit is contained in:
Simon De Backer 2020-10-25 12:24:43 +01:00
parent 1c91a6300a
commit c5c3dfb07b

View File

@ -1793,6 +1793,7 @@ void QETApp::configureQET()
// associe le dialogue a un eventuel widget parent
if (parent_widget) {
cd.setParent(parent_widget, cd.windowFlags());
cd.setMaximumSize(parent_widget->size());
}
// display the dialog then avoid linking it to any parent widget