hook expected an int, not a str

This commit is contained in:
Damien Elmes 2020-05-22 11:27:40 +10:00
parent cecf363c38
commit 6144317736

View File

@ -241,7 +241,7 @@ where id > ?""",
qconnect(a.triggered, lambda b, did=did: self._export(did))
a = m.addAction(_("Delete"))
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())
def _export(self, did):