Skip to content

Commit

Permalink
Add Alt key as well
Browse files Browse the repository at this point in the history
  • Loading branch information
Yida-Lin committed Sep 17, 2017
1 parent 7395464 commit 1354616
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/gui_impl/dialogs/hotkey_dialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ HotkeyDialog::HotkeyDialog(QWidget *parent) :

#if defined(Q_OS_MACOS)
QString ctrl = "Cmd";
QString alt = "Option";
#else
QString ctrl = "Ctrl";
QString alt = "Alt";
#endif

QStringList actionDescriptions;
Expand Down Expand Up @@ -47,8 +49,8 @@ HotkeyDialog::HotkeyDialog(QWidget *parent) :
<< ctrl + "+E"
<< ctrl + "+O"
<< ctrl + "+A"
<< "Alt++"
<< "Alt+-"
<< alt + "++"
<< alt + "+-"
<< ctrl + "++"
<< ctrl + "+-"
<< ctrl + "+1"
Expand Down

0 comments on commit 1354616

Please sign in to comment.