mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
hook expected an int, not a str
This commit is contained in:
parent
cecf363c38
commit
6144317736
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ where id > ?""",
|
||||||
qconnect(a.triggered, lambda b, did=did: self._export(did))
|
qconnect(a.triggered, lambda b, did=did: self._export(did))
|
||||||
a = m.addAction(_("Delete"))
|
a = m.addAction(_("Delete"))
|
||||||
qconnect(a.triggered, lambda b, did=did: self._delete(int(did)))
|
qconnect(a.triggered, lambda b, did=did: self._delete(int(did)))
|
||||||
gui_hooks.deck_browser_will_show_options_menu(m, did)
|
gui_hooks.deck_browser_will_show_options_menu(m, int(did))
|
||||||
m.exec_(QCursor.pos())
|
m.exec_(QCursor.pos())
|
||||||
|
|
||||||
def _export(self, did):
|
def _export(self, did):
|
||||||
|
|
Loading…
Reference in a new issue