diff options
author | rubidium <rubidium@openttd.org> | 2008-05-14 20:28:11 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-05-14 20:28:11 +0000 |
commit | 0449abe88bbb1eabed09644ee7892e5a3e232f4a (patch) | |
tree | c927289784105948225d96e15a519ecbba3d1c7d | |
parent | be43bbc3f35275fb0bd52e4da0146d165a8063a9 (diff) | |
download | openttd-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.cpp | 1 |
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; } } |