summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/settings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings.cpp b/src/settings.cpp
index 5a80b9bbd..f75b0c614 100644
--- a/src/settings.cpp
+++ b/src/settings.cpp
@@ -811,7 +811,7 @@ static bool InvalidateDetailsWindow(int32 p1)
static bool InvalidateStationBuildWindow(int32 p1)
{
- SetWindowDirty(WC_BUILD_STATION, 0);
+ InvalidateWindowData(WC_SELECT_STATION, 0);
return true;
}