mirror of
https://github.com/odrling/Aegisub
synced 2025-04-11 22:56:02 +02:00
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…
x
Reference in New Issue
Block a user