summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-05-14 20:28:11 +0000
committerrubidium <rubidium@openttd.org>2008-05-14 20:28:11 +0000
commit0449abe88bbb1eabed09644ee7892e5a3e232f4a (patch)
treec927289784105948225d96e15a519ecbba3d1c7d
parentbe43bbc3f35275fb0bd52e4da0146d165a8063a9 (diff)
downloadopenttd-0449abe88bbb1eabed09644ee7892e5a3e232f4a.tar.xz
(svn r13094) -Fix: closing the QueryWindow would always send a 'query has been cancelled message' even when it was not cancelled causing joining passworded servers/companies to fail.
-rw-r--r--src/misc_gui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp
index f0d868dc3..cd6b0cf9f 100644
--- a/src/misc_gui.cpp
+++ b/src/misc_gui.cpp
@@ -1021,6 +1021,7 @@ struct QueryStringWindow : public QueryStringBaseWindow
} else {
HandleOnEditText(this->text.buf);
}
+ this->handled = true;
}
}