mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix for JobSpy plugin using integers instead of enum for tool button popup mode
This commit is contained in:
parent
50e5fb1e4f
commit
bbb0d39053
@ -226,7 +226,7 @@ class ToolBar(QToolBar): # {{{
|
|||||||
m = ac.menu()
|
m = ac.menu()
|
||||||
if m is not None:
|
if m is not None:
|
||||||
if menu_mode is not None:
|
if menu_mode is not None:
|
||||||
ch.setPopupMode(menu_mode)
|
ch.setPopupMode(QToolButton.ToolButtonPopupMode(menu_mode))
|
||||||
return ch
|
return ch
|
||||||
|
|
||||||
# support drag&drop from/to library, from/to reader/card, enabled plugins
|
# support drag&drop from/to library, from/to reader/card, enabled plugins
|
||||||
|
Loading…
x
Reference in New Issue
Block a user