mirror of https://github.com/odrling/Aegisub
Don't save empty hotkeys
Originally committed to SVN as r6521.
This commit is contained in:
parent
95a1e187a0
commit
0d703cff69
|
@ -84,7 +84,8 @@ public:
|
|||
}
|
||||
|
||||
void Apply(Hotkey::HotkeyMap *hk_map) {
|
||||
hk_map->insert(make_pair(combo.CmdName(), combo));
|
||||
if (combo.CmdName().size() || combo.Str().size())
|
||||
hk_map->insert(make_pair(combo.CmdName(), combo));
|
||||
}
|
||||
|
||||
unsigned int GetChildren(wxDataViewItemArray &) const { return 0; }
|
||||
|
|
Loading…
Reference in New Issue