mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
Fix "Note Types" dialog moving down each time it is opened (#3718)
This commit is contained in:
parent
2a85c6a2c0
commit
d0a4fbb7aa
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in a new issue