mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
app-modal edit as a test for mesqueeb's bug
This commit is contained in:
parent
7d476586f7
commit
9a7f9525ae
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ class EditCurrent(QDialog):
|
||||||
restoreGeom(self, "editcurrent")
|
restoreGeom(self, "editcurrent")
|
||||||
addHook("reset", self.onReset)
|
addHook("reset", self.onReset)
|
||||||
self.mw.requireReset(modal=True)
|
self.mw.requireReset(modal=True)
|
||||||
self.open()
|
self.exec_()
|
||||||
# reset focus after open
|
# reset focus after open
|
||||||
self.editor.web.setFocus()
|
self.editor.web.setFocus()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue