mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 07:22:23 -04:00
hook for showDeckOptions
This commit is contained in:
parent
447718c605
commit
dfa479607c
1 changed files with 1 additions and 0 deletions
|
@ -274,6 +274,7 @@ where id > ?""", (self.mw.col.sched.dayCutoff-86400)*1000)
|
|||
a.triggered.connect(lambda b, did=did: self._export(did))
|
||||
a = m.addAction(_("Delete"))
|
||||
a.triggered.connect(lambda b, did=did: self._delete(did))
|
||||
runHook("showDeckOptions", m, did)
|
||||
m.exec_(QCursor.pos())
|
||||
|
||||
def _export(self, did):
|
||||
|
|
Loading…
Reference in a new issue