diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 198826c44d9..2663380e3c3 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -182,7 +182,7 @@ Ian Samir Yep Manzano David Culley <6276049+davidculley@users.noreply.github.com> Rastislav Kish Expertium - +Christian Donat ******************** The text of the 3 clause BSD license follows: diff --git a/qt/aqt/models.py b/qt/aqt/models.py index 43b33dabd79..8fe055cfc78 100644 --- a/qt/aqt/models.py +++ b/qt/aqt/models.py @@ -62,6 +62,13 @@ def __init__( self.models: Sequence[NotetypeNameIdUseCount] = [] self.setupModels() restoreGeom(self, "models") + + self.setWindowFlags( + self.windowFlags() + | Qt.WindowType.WindowMaximizeButtonHint + | Qt.WindowType.WindowMinimizeButtonHint + ) + self.show() # Models