mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
fix undo, allow main window focusable
This commit is contained in:
parent
b575170883
commit
2661c1d3a2
2 changed files with 2 additions and 1 deletions
|
@ -928,6 +928,7 @@ class AnkiQt(QMainWindow):
|
|||
self.currentCard = None
|
||||
self.deck.s.flush()
|
||||
self.lastCardBackup.toDB(self.deck.s)
|
||||
self.deck.rebuildCounts()
|
||||
self.reset()
|
||||
|
||||
# Other menu operations
|
||||
|
|
|
@ -144,7 +144,7 @@
|
|||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy" >
|
||||
<enum>Qt::ClickFocus</enum>
|
||||
<enum>Qt::TabFocus</enum>
|
||||
</property>
|
||||
<property name="frameShape" >
|
||||
<enum>QFrame::NoFrame</enum>
|
||||
|
|
Loading…
Reference in a new issue