mirror of
https://github.com/ankitects/anki.git
synced 2026-01-13 22:13:58 -05:00
Fix "Note Types" dialog moving down each time it is opened (#3718)
This commit is contained in:
parent
e60fc9cf24
commit
9d5b2805e2
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