api: add guiUndo action

This commit is contained in:
YuLong Yao 2023-05-18 17:30:14 +08:00
parent 92eeb8d749
commit 53dba8003b
No known key found for this signature in database
GPG Key ID: FF6CE608CD728420

View File

@ -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()