mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
refresh undo options after undo finished
This commit is contained in:
parent
ee2d39938d
commit
9b15771d84
1 changed files with 1 additions and 0 deletions
|
@ -147,6 +147,7 @@ class AnkiQt(QMainWindow):
|
|||
self.mainWin.noticeButton.setFixedWidth(20)
|
||||
self.mainWin.noticeButton.setFixedHeight(20)
|
||||
addHook("cardAnswered", self.onCardAnsweredHook)
|
||||
addHook("undoEnd", self.maybeEnableUndo)
|
||||
|
||||
def setNotice(self, str=""):
|
||||
if str:
|
||||
|
|
Loading…
Reference in a new issue