From 5176ae440765e0af30160dfdf46b8b2b9570c8ea Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Sun, 6 Nov 2011 17:18:08 +0000 Subject: [PATCH] Flush hotkeys after they're modified Originally committed to SVN as r5821. --- aegisub/libaegisub/common/hotkey.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/aegisub/libaegisub/common/hotkey.cpp b/aegisub/libaegisub/common/hotkey.cpp index 2ef5c8b92..a7802d698 100644 --- a/aegisub/libaegisub/common/hotkey.cpp +++ b/aegisub/libaegisub/common/hotkey.cpp @@ -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(); }