mirror of https://github.com/OpenTTD/OpenTTD
(svn r24746) -Cleanup: Remove weird lowering of editboxes.
parent
1b3e8a8af6
commit
aed11012d4
|
@ -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)
|
||||
|
|
|
@ -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));
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue