mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 15:02:21 -04:00
add undoredo hook
This commit is contained in:
parent
4fdaa1ec79
commit
4d4e7afcff
1 changed files with 2 additions and 0 deletions
|
@ -1929,11 +1929,13 @@ seq > :s and seq <= :e order by seq desc""", s=start, e=end)
|
|||
self._undoredo(self.undoStack, self.redoStack)
|
||||
self.refresh()
|
||||
self.rebuildCounts()
|
||||
runHook("postUndoRedo")
|
||||
|
||||
def redo(self):
|
||||
self._undoredo(self.redoStack, self.undoStack)
|
||||
self.refresh()
|
||||
self.rebuildCounts()
|
||||
runHook("postUndoRedo")
|
||||
|
||||
# Dynamic indices
|
||||
##########################################################################
|
||||
|
|
Loading…
Reference in a new issue