diff options
author | frosch <frosch@openttd.org> | 2012-11-13 21:46:54 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2012-11-13 21:46:54 +0000 |
commit | fd55399167115dbb06e77bb03f85681ba318f5f2 (patch) | |
tree | 98b7ed09e96dbb242e05bd7551e750afb4fc1a6f /src/window.cpp | |
parent | 67f92f16eda1e9d251d665df7ceaa6127af4c593 (diff) | |
download | openttd-fd55399167115dbb06e77bb03f85681ba318f5f2.tar.xz |
(svn r24731) -Codechange: Remove OnOpenOSKWindow and instead specify OK and CANCEL buttons via QueryString members.
Diffstat (limited to 'src/window.cpp')
-rw-r--r-- | src/window.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.cpp b/src/window.cpp index 0ef7f8007..b7741be30 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -452,7 +452,7 @@ static void DispatchLeftClickEvent(Window *w, int x, int y, int click_count) /* Open the OSK window if clicked on an edit box */ QueryStringBaseWindow *qs = dynamic_cast<QueryStringBaseWindow *>(w); if (qs != NULL) { - qs->OnOpenOSKWindow(widget_index); + ShowOnScreenKeyboard(qs, widget_index); } } break; |