Flush hotkeys after they're modified

Originally committed to SVN as r5821.
This commit is contained in:
Thomas Goyne 2011-11-06 17:18:08 +00:00
parent e9e02539ac
commit 5176ae4407

View file

@ -182,6 +182,7 @@ void Hotkey::SetHotkeyMap(HotkeyMap const& new_map) {
for (HotkeyMap::iterator it = cmd_map.begin(); it != cmd_map.end(); ++it)
str_map.insert(make_pair(it->second.Str(), it->second));
Flush();
HotkeysChanged();
}