summaryrefslogtreecommitdiff
path: root/src/timetable_gui.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2011-03-13 21:33:57 +0000
committerfrosch <frosch@openttd.org>2011-03-13 21:33:57 +0000
commit5689b3dbda6b3e4adee2c20e32d06a9e5a158c07 (patch)
treee0c452f1425e66657cb164a4c2eadc5ac7fd1765 /src/timetable_gui.cpp
parentdd208232770650342d681f50e801b1f2de03aa61 (diff)
downloadopenttd-5689b3dbda6b3e4adee2c20e32d06a9e5a158c07.tar.xz
(svn r22246) -Fix: Process order window invalidations for specific orders in command-scope.
Diffstat (limited to 'src/timetable_gui.cpp')
-rw-r--r--src/timetable_gui.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/timetable_gui.cpp b/src/timetable_gui.cpp
index 791e3312e..7abe4f4f0 100644
--- a/src/timetable_gui.cpp
+++ b/src/timetable_gui.cpp
@@ -271,7 +271,8 @@ struct TimetableWindow : Window {
break;
default: {
- if (!gui_scope) break;
+ if (gui_scope) break; // only do this once; from command scope
+
/* Moving an order. If one of these is INVALID_VEH_ORDER_ID, then
* the order is being created / removed */
if (this->sel_index == -1) break;