Don't save empty hotkeys
Originally committed to SVN as r6521.
This commit is contained in:
parent
95a1e187a0
commit
0d703cff69
1 changed files with 2 additions and 1 deletions
|
@ -84,6 +84,7 @@ public:
|
|||
}
|
||||
|
||||
void Apply(Hotkey::HotkeyMap *hk_map) {
|
||||
if (combo.CmdName().size() || combo.Str().size())
|
||||
hk_map->insert(make_pair(combo.CmdName(), combo));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue