mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-02-10 00:55:34 +01:00
...
This commit is contained in:
parent
4fc0f08da8
commit
1ee5f3aba9
1 changed files with 1 additions and 1 deletions
|
|
@ -264,7 +264,7 @@ class CloneAction(QAction):
|
|||
visibility_changed = pyqtSignal()
|
||||
|
||||
def __init__(self, clone, parent, is_top_level=False, clone_shortcuts=True):
|
||||
QAction.__init__(self, clone.text(), parent)
|
||||
QAction.__init__(self, clone.text().replace('&&', '&'), parent)
|
||||
self.setMenuRole(QAction.NoRole) # ensure this action is not moved around by Qt
|
||||
self.is_top_level = is_top_level
|
||||
self.clone_shortcuts = clone_shortcuts
|
||||
|
|
|
|||
Loading…
Reference in a new issue