diff options
author | frosch <frosch@openttd.org> | 2012-11-14 22:50:49 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2012-11-14 22:50:49 +0000 |
commit | aed11012d40db7a8013eda0db1c571ba88bff2af (patch) | |
tree | d55b5ad6c056df18b96b91b976bd00f37c8b4bf4 | |
parent | 1b3e8a8af6c11864226058a8fbffc4d765096468 (diff) | |
download | openttd-aed11012d40db7a8013eda0db1c571ba88bff2af.tar.xz |
(svn r24746) -Cleanup: Remove weird lowering of editboxes.
-rw-r--r-- | src/misc_gui.cpp | 1 | ||||
-rw-r--r-- | src/osk_gui.cpp | 1 | ||||
-rw-r--r-- | src/signs_gui.cpp | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp index 1e0e8c8e5..dfd5f7e78 100644 --- a/src/misc_gui.cpp +++ b/src/misc_gui.cpp @@ -855,7 +855,6 @@ struct QueryStringWindow : public Window this->parent = parent; this->SetFocusedWidget(WID_QS_TEXT); - this->LowerWidget(WID_QS_TEXT); } virtual void UpdateWidgetSize(int widget, Dimension *size, const Dimension &padding, Dimension *fill, Dimension *resize) diff --git a/src/osk_gui.cpp b/src/osk_gui.cpp index 69cdabb4f..5265d3e2d 100644 --- a/src/osk_gui.cpp +++ b/src/osk_gui.cpp @@ -85,7 +85,6 @@ struct OskWindow : public Window { } this->SetWidgetDisabledState(WID_OSK_SPACE, !IsValidChar(' ', this->qs->afilter)); - this->LowerWidget(WID_OSK_TEXT); this->SetWidgetLoweredState(WID_OSK_SHIFT, HasBit(_keystate, KEYS_SHIFT)); this->SetWidgetLoweredState(WID_OSK_CAPS, HasBit(_keystate, KEYS_CAPS)); } diff --git a/src/signs_gui.cpp b/src/signs_gui.cpp index d982fe5ec..b34816259 100644 --- a/src/signs_gui.cpp +++ b/src/signs_gui.cpp @@ -444,7 +444,6 @@ struct SignWindow : Window, SignList { this->InitNested(desc, WN_QUERY_STRING_SIGN); - this->LowerWidget(WID_QES_TEXT); UpdateSignEditWindow(si); this->SetFocusedWidget(WID_QES_TEXT); } |