summaryrefslogtreecommitdiff
path: root/src/industry_cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/industry_cmd.cpp')
-rw-r--r--src/industry_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/industry_cmd.cpp b/src/industry_cmd.cpp
index b31b82e3f..84a2609e1 100644
--- a/src/industry_cmd.cpp
+++ b/src/industry_cmd.cpp
@@ -1894,7 +1894,7 @@ static void UpdateIndustryStatistics(Industry *i)
}
}
- if (refresh) InvalidateWindow(WC_INDUSTRY_VIEW, i->index);
+ if (refresh) SetWindowDirty(WC_INDUSTRY_VIEW, i->index);
}
/** Simple helper that will collect data for the generation of industries */