From e97a3cc856de97347713171052c0dad75fdd2e6a Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Wed, 26 Jan 2011 12:03:44 +0900 Subject: [PATCH] disable tooltip for broken osx shortcut --- ankiqt/ui/main.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ankiqt/ui/main.py b/ankiqt/ui/main.py index 2e90fc8be..f3d08b609 100755 --- a/ankiqt/ui/main.py +++ b/ankiqt/ui/main.py @@ -1311,8 +1311,10 @@ your deck.""")) openButton = QPushButton(_("Open")) if c < 9: if sys.platform.startswith("darwin"): - extra = _(" (Command+Option+%d)") % (c+1) - openButton.setShortcut(_("Ctrl+Alt+%d" % (c+1))) + extra = "" + # appears to be broken on osx + #extra = _(" (Command+Option+%d)") % (c+1) + #openButton.setShortcut(_("Ctrl+Alt+%d" % (c+1))) else: extra = _(" (Alt+%d)") % (c+1) openButton.setShortcut(_("Alt+%d" % (c+1)))