diff --git a/qt/aqt/models.py b/qt/aqt/models.py index 8fe055cfc..5c7be6bda 100644 --- a/qt/aqt/models.py +++ b/qt/aqt/models.py @@ -61,13 +61,13 @@ class Models(QDialog): ) self.models: Sequence[NotetypeNameIdUseCount] = [] self.setupModels() - restoreGeom(self, "models") self.setWindowFlags( self.windowFlags() | Qt.WindowType.WindowMaximizeButtonHint | Qt.WindowType.WindowMinimizeButtonHint ) + restoreGeom(self, "models") self.show()