forked from mia/Aegisub
Flush hotkeys after they're modified
Originally committed to SVN as r5821.
This commit is contained in:
parent
e9e02539ac
commit
5176ae4407
1 changed files with 1 additions and 0 deletions
|
@ -182,6 +182,7 @@ void Hotkey::SetHotkeyMap(HotkeyMap const& new_map) {
|
||||||
for (HotkeyMap::iterator it = cmd_map.begin(); it != cmd_map.end(); ++it)
|
for (HotkeyMap::iterator it = cmd_map.begin(); it != cmd_map.end(); ++it)
|
||||||
str_map.insert(make_pair(it->second.Str(), it->second));
|
str_map.insert(make_pair(it->second.Str(), it->second));
|
||||||
|
|
||||||
|
Flush();
|
||||||
HotkeysChanged();
|
HotkeysChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue