mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 13:30:34 +01:00
Mod Maximum Size of configureQET widget
This commit is contained in:
@@ -1793,6 +1793,7 @@ void QETApp::configureQET()
|
|||||||
// associe le dialogue a un eventuel widget parent
|
// associe le dialogue a un eventuel widget parent
|
||||||
if (parent_widget) {
|
if (parent_widget) {
|
||||||
cd.setParent(parent_widget, cd.windowFlags());
|
cd.setParent(parent_widget, cd.windowFlags());
|
||||||
|
cd.setMaximumSize(parent_widget->size());
|
||||||
}
|
}
|
||||||
|
|
||||||
// display the dialog then avoid linking it to any parent widget
|
// display the dialog then avoid linking it to any parent widget
|
||||||
|
|||||||
Reference in New Issue
Block a user