From 1ad82c200a95390f6f9e909c917ebb8920476722 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Sat, 1 Jul 2023 17:22:46 +0100 Subject: [PATCH] Don't refresh viewports when changing smallmap height mode --- src/smallmap_gui.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/smallmap_gui.cpp b/src/smallmap_gui.cpp index af488d43b2..560edc2440 100644 --- a/src/smallmap_gui.cpp +++ b/src/smallmap_gui.cpp @@ -1514,7 +1514,6 @@ int SmallMapWindow::GetPositionOnLegend(Point pt) case WID_SM_SHOW_HEIGHT: // Enable/disable showing of heightmap. _smallmap_show_heightmap = !_smallmap_show_heightmap; this->SetWidgetLoweredState(WID_SM_SHOW_HEIGHT, _smallmap_show_heightmap); - NotifyAllViewports(VPMT_INDUSTRY); this->SetDirty(); break;