diff options
Diffstat (limited to 'gui/EditTextWidget.cpp')
-rw-r--r-- | gui/EditTextWidget.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gui/EditTextWidget.cpp b/gui/EditTextWidget.cpp index 5499d655fe..277b69bc74 100644 --- a/gui/EditTextWidget.cpp +++ b/gui/EditTextWidget.cpp @@ -32,9 +32,8 @@ EditTextWidget::EditTextWidget(GuiObject *boss, int x, int y, int w, int h, cons _flags = WIDGET_ENABLED | WIDGET_CLEARBG | WIDGET_RETAIN_FOCUS | WIDGET_WANT_TICKLE; _type = kEditTextWidget; - setEditString(text); - handleScreenChanged(); + setEditString(text); } EditTextWidget::EditTextWidget(GuiObject *boss, String name, const String &text) @@ -43,9 +42,8 @@ EditTextWidget::EditTextWidget(GuiObject *boss, String name, const String &text) _type = kEditTextWidget; _hints |= THEME_HINT_USE_SHADOW; - setEditString(text); - handleScreenChanged(); + setEditString(text); } void EditTextWidget::setEditString(const String &str) { |