summaryrefslogtreecommitdiff
path: root/src/main_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main_gui.cpp')
-rw-r--r--src/main_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main_gui.cpp b/src/main_gui.cpp
index 3f43dcdc8..ed85860da 100644
--- a/src/main_gui.cpp
+++ b/src/main_gui.cpp
@@ -435,7 +435,7 @@ struct MainWindow : Window
virtual void OnInvalidateData(int data)
{
/* Forward the message to the appropiate toolbar (ingame or scenario editor) */
- InvalidateWindowData(WC_MAIN_TOOLBAR, 0, data);
+ InvalidateWindowData(WC_MAIN_TOOLBAR, 0, data, true);
}
static Hotkey<MainWindow> global_hotkeys[];