diff options
Diffstat (limited to 'src/smallmap_gui.cpp')
-rw-r--r-- | src/smallmap_gui.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/smallmap_gui.cpp b/src/smallmap_gui.cpp index e73401c32..b614c3988 100644 --- a/src/smallmap_gui.cpp +++ b/src/smallmap_gui.cpp @@ -1154,6 +1154,9 @@ public: virtual void OnClick(Point pt, int widget, int click_count) { + /* User clicked something, notify the industry chain window to stop sending newly selected industries. */ + InvalidateWindowClassesData(WC_INDUSTRY_CARGOES, NUM_INDUSTRYTYPES); + switch (widget) { case SM_WIDGET_MAP: { // Map window /* |