refresh undo options after undo finished

This commit is contained in:
Damien Elmes 2010-08-16 19:26:50 +09:00
parent ee2d39938d
commit 9b15771d84

View file

@ -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: