mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-16 11:09:11 +00:00
(svn r24734) -Codechange: Move QueryStringBaseWindow::OnOSKInput to Window::OnEditboxChanged.
This commit is contained in:
@@ -203,8 +203,7 @@ struct OskWindow : public Window {
|
||||
|
||||
void InvalidateParent()
|
||||
{
|
||||
QueryStringBaseWindow *w = dynamic_cast<QueryStringBaseWindow*>(this->parent);
|
||||
if (w != NULL) w->OnOSKInput(this->text_btn);
|
||||
this->parent->OnEditboxChanged(this->text_btn);
|
||||
|
||||
this->SetWidgetDirty(WID_OSK_TEXT);
|
||||
if (this->parent != NULL) this->parent->SetWidgetDirty(this->text_btn);
|
||||
|
Reference in New Issue
Block a user