diff options
author | skidd13 <skidd13@openttd.org> | 2008-03-13 18:53:49 +0000 |
---|---|---|
committer | skidd13 <skidd13@openttd.org> | 2008-03-13 18:53:49 +0000 |
commit | 1415de28001557f0c0d0750e635cb318fac74844 (patch) | |
tree | 56aac8c1a2ca0a36c268ad7ad272eee758626d5b /src/road_gui.cpp | |
parent | 3679bed32a616b5ed06a5875d891b9688e015d7e (diff) | |
download | openttd-1415de28001557f0c0d0750e635cb318fac74844.tar.xz |
(svn r12365) -Fix: missing redraw call in the road gui
Diffstat (limited to 'src/road_gui.cpp')
-rw-r--r-- | src/road_gui.cpp | 2 |
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: |