station_cmd.c
changeset 65 f9f866bc609c
parent 59 fb1a20aefeae
child 71 1b8e15a10515
--- a/station_cmd.c	Mon Aug 16 13:54:37 2004 +0000
+++ b/station_cmd.c	Mon Aug 16 14:48:35 2004 +0000
@@ -1998,6 +1998,7 @@
 	DeleteName(st->string_id);
 	MarkStationDirty(st);
 	_station_sort_dirty = true;
+	InvalidateWindowClasses(WC_STATION_LIST);
 
 	index = st->index;
 	DeleteWindowById(WC_STATION_VIEW, index);
@@ -2403,6 +2404,7 @@
 		_map_owner[tile] = new_player;
 		st->owner = new_player;
 		_station_sort_dirty = true;
+		InvalidateWindowClasses(WC_STATION_LIST);
 	} else {
 		DoCommandByTile(tile, 0, 0, DC_EXEC, CMD_LANDSCAPE_CLEAR);
 	}