summaryrefslogtreecommitdiff
path: root/ship_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'ship_gui.c')
-rw-r--r--ship_gui.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ship_gui.c b/ship_gui.c
index 48867bb46..3d16ec0b2 100644
--- a/ship_gui.c
+++ b/ship_gui.c
@@ -244,6 +244,10 @@ void CcCloneShip(bool success, TileIndex tile, uint32 p1, uint32 p2)
static void NewShipWndProc(Window *w, WindowEvent *e)
{
switch (e->event) {
+ case WE_INVALIDATE_DATA:
+ SetWindowDirty(w);
+ break;
+
case WE_PAINT: {
EngineID selected_id;
EngineID eid;