summaryrefslogtreecommitdiff
path: root/src/industry_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/industry_gui.cpp')
-rw-r--r--src/industry_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/industry_gui.cpp b/src/industry_gui.cpp
index f64be7deb..53981ab48 100644
--- a/src/industry_gui.cpp
+++ b/src/industry_gui.cpp
@@ -806,7 +806,7 @@ protected:
if (!this->industries.Sort()) return;
IndustryDirectoryWindow::last_industry = NULL; // Reset name sorter sort cache
- this->InvalidateWidget(IDW_INDUSTRY_LIST); // Set the modified widget dirty
+ this->SetWidgetDirty(IDW_INDUSTRY_LIST); // Set the modified widget dirty
}
/**