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"))
|
openButton = QPushButton(_("Open"))
|
||||||
if c < 9:
|
if c < 9:
|
||||||
if sys.platform.startswith("darwin"):
|
if sys.platform.startswith("darwin"):
|
||||||
extra = _(" (Command+Option+%d)") % (c+1)
|
extra = ""
|
||||||
openButton.setShortcut(_("Ctrl+Alt+%d" % (c+1)))
|
# appears to be broken on osx
|
||||||
|
#extra = _(" (Command+Option+%d)") % (c+1)
|
||||||
|
#openButton.setShortcut(_("Ctrl+Alt+%d" % (c+1)))
|
||||||
else:
|
else:
|
||||||
extra = _(" (Alt+%d)") % (c+1)
|
extra = _(" (Alt+%d)") % (c+1)
|
||||||
openButton.setShortcut(_("Alt+%d" % (c+1)))
|
openButton.setShortcut(_("Alt+%d" % (c+1)))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue