mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
yes we need right click, its much easier to use than clicking the drop-down arrow
This commit is contained in:
parent
47df5f10f2
commit
140e9cd164
@ -653,7 +653,7 @@ class SearchToolBar(QHBoxLayout):
|
||||
elif what in self.gui.iactions:
|
||||
act = self.gui.iactions[what]
|
||||
qact = act.qaction
|
||||
tb = RightClickButton() # Do we really need to support right-click?
|
||||
tb = RightClickButton()
|
||||
tb.menu = qact.menu
|
||||
tb.setContentsMargins(0, 0, 0, 0)
|
||||
tb.setDefaultAction(qact)
|
||||
@ -708,6 +708,7 @@ class SearchToolBar(QHBoxLayout):
|
||||
def added_actions(self):
|
||||
return self.search_tool_bar_actions
|
||||
|
||||
|
||||
class BarsManager(QObject):
|
||||
|
||||
def __init__(self, donate_action, location_manager, parent):
|
||||
|
Loading…
x
Reference in New Issue
Block a user