mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -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.setFixedWidth(20)
|
||||||
self.mainWin.noticeButton.setFixedHeight(20)
|
self.mainWin.noticeButton.setFixedHeight(20)
|
||||||
addHook("cardAnswered", self.onCardAnsweredHook)
|
addHook("cardAnswered", self.onCardAnsweredHook)
|
||||||
|
addHook("undoEnd", self.maybeEnableUndo)
|
||||||
|
|
||||||
def setNotice(self, str=""):
|
def setNotice(self, str=""):
|
||||||
if str:
|
if str:
|
||||||
|
|
Loading…
Reference in a new issue