summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorskidd13 <skidd13@openttd.org>2008-03-13 18:53:49 +0000
committerskidd13 <skidd13@openttd.org>2008-03-13 18:53:49 +0000
commit9a96f896460ff877b077ff000550c8780769a407 (patch)
tree56aac8c1a2ca0a36c268ad7ad272eee758626d5b
parentd205e533921c33d735d7178cbfa1cfefde554935 (diff)
downloadopenttd-9a96f896460ff877b077ff000550c8780769a407.tar.xz
(svn r12365) -Fix: missing redraw call in the road gui
-rw-r--r--src/road_gui.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/road_gui.cpp b/src/road_gui.cpp
index 6d44ca163..fe5410df1 100644
--- a/src/road_gui.cpp
+++ b/src/road_gui.cpp
@@ -418,9 +418,11 @@ static void UpdateOptionWidgetStatus(Window *w, int clicked_widget)
switch (clicked_widget) {
case RTW_REMOVE:
w->RaiseWidget(RTW_ONE_WAY);
+ w->InvalidateWidget(RTW_ONE_WAY);
break;
case RTW_ONE_WAY:
w->RaiseWidget(RTW_REMOVE);
+ w->InvalidateWidget(RTW_REMOVE);
break;
case RTW_BUS_STATION:
case RTW_TRUCK_STATION: