diff options
Diffstat (limited to 'src/osk_gui.cpp')
-rw-r--r-- | src/osk_gui.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/osk_gui.cpp b/src/osk_gui.cpp index 2dadb88cd..800b5ef54 100644 --- a/src/osk_gui.cpp +++ b/src/osk_gui.cpp @@ -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); |