api: add guiUndo action
This commit is contained in:
parent
92eeb8d749
commit
53dba8003b
@ -1801,6 +1801,12 @@ class AnkiConnect:
|
|||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
||||||
|
@util.api()
|
||||||
|
def guiUndo(self):
|
||||||
|
self.window().undo()
|
||||||
|
return True
|
||||||
|
|
||||||
|
|
||||||
@util.api()
|
@util.api()
|
||||||
def guiDeckOverview(self, name):
|
def guiDeckOverview(self, name):
|
||||||
collection = self.collection()
|
collection = self.collection()
|
||||||
|
Loading…
Reference in New Issue
Block a user