From aed11012d40db7a8013eda0db1c571ba88bff2af Mon Sep 17 00:00:00 2001 From: frosch Date: Wed, 14 Nov 2012 22:50:49 +0000 Subject: (svn r24746) -Cleanup: Remove weird lowering of editboxes. --- src/misc_gui.cpp | 1 - src/osk_gui.cpp | 1 - src/signs_gui.cpp | 1 - 3 files changed, 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); } -- cgit v1.2.3-70-g09d2