1
0
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:
frosch
2012-11-13 21:47:07 +00:00
parent c4d7c8dd42
commit 2c22fe98dd
12 changed files with 17 additions and 18 deletions

View File

@@ -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);