mirror of
https://github.com/ankitects/anki.git
synced 2025-11-11 07:07:13 -05:00
disable tooltip for broken osx shortcut
This commit is contained in:
parent
13abebf4a7
commit
e97a3cc856
1 changed files with 4 additions and 2 deletions
|
|
@ -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)))
|
||||
|
|
|
|||
Loading…
Reference in a new issue