Merge pull request #9173
This commit is contained in:
commit
1ae764bd35
2 changed files with 6 additions and 0 deletions
2
changelog_entries/macos-option-key-label.md
Normal file
2
changelog_entries/macos-option-key-label.md
Normal file
|
@ -0,0 +1,2 @@
|
|||
### User interface
|
||||
* Option key is now identified as such instead of Alt in the Hotkeys preferences section on macOS builds
|
|
@ -55,7 +55,11 @@ const std::string hotkey_base::get_name() const
|
|||
|
||||
ret += (!ret.empty() && !boost::algorithm::ends_with(ret, "+") ? "+" : "");
|
||||
if(mod_ & KMOD_ALT) {
|
||||
#ifdef __APPLE__
|
||||
ret += "opt";
|
||||
#else
|
||||
ret += "alt";
|
||||
#endif
|
||||
}
|
||||
|
||||
ret += (!ret.empty() && !boost::algorithm::ends_with(ret, "+") ? "+" : "");
|
||||
|
|
Loading…
Add table
Reference in a new issue