disable tooltip for broken osx shortcut

This commit is contained in:
Damien Elmes 2011-01-26 12:03:44 +09:00
parent 13abebf4a7
commit e97a3cc856

View file

@ -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)))