From 1ee5f3aba9db7b2aac2c73d0d0b512db03798ffa Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 27 Apr 2015 09:53:40 +0530 Subject: [PATCH] ... --- src/calibre/gui2/bars.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/bars.py b/src/calibre/gui2/bars.py index 31895562f7..74a36ca3b5 100644 --- a/src/calibre/gui2/bars.py +++ b/src/calibre/gui2/bars.py @@ -264,7 +264,7 @@ if isosx: 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