summaryrefslogtreecommitdiff
path: root/src/window.cpp
diff options
context:
space:
mode:
authorplanetmaker <planetmaker@openttd.org>2011-12-03 14:45:02 +0000
committerplanetmaker <planetmaker@openttd.org>2011-12-03 14:45:02 +0000
commitc5ed9bd4f58a2dfdb953a5d5fc9e41fc856c35c9 (patch)
tree285beac2f971e09a863ab1a5b27fa181631efca0 /src/window.cpp
parent5a9523bfa023f6915ec97f4e7c0055c32911f415 (diff)
downloadopenttd-c5ed9bd4f58a2dfdb953a5d5fc9e41fc856c35c9.tar.xz
(svn r23400) -Fix (r23393, r23382): Text query window was hidden in numerous cases
Diffstat (limited to 'src/window.cpp')
-rw-r--r--src/window.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/window.cpp b/src/window.cpp
index b6eb7aa08..f000507a6 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -903,6 +903,9 @@ static uint GetWindowZPriority(const Window *w)
case WC_STATUS_BAR:
++z_priority;
+ case WC_QUERY_STRING:
+ ++z_priority;
+
case WC_ERRMSG:
case WC_CONFIRM_POPUP_QUERY:
case WC_MODAL_PROGRESS: