summaryrefslogtreecommitdiff
path: root/src/station.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/station.cpp')
-rw-r--r--src/station.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/station.cpp b/src/station.cpp
index 8922a1fe3..355abb7ba 100644
--- a/src/station.cpp
+++ b/src/station.cpp
@@ -74,8 +74,7 @@ Station::~Station()
}
MarkDirty();
- RebuildStationLists();
- InvalidateWindowClasses(WC_STATION_LIST);
+ InvalidateWindowData(WC_STATION_LIST, this->owner, 0);
DeleteWindowById(WC_STATION_VIEW, index);