InputBox: access to _text fix

This commit is contained in:
Denis Feklushkin 2017-11-08 14:02:40 +07:00
parent bd4e4a1ff6
commit 1a76d96452
1 changed files with 14 additions and 0 deletions

View File

@ -56,4 +56,18 @@ class InputBox : Dialog {
_editor.selectAll();
_editor.setFocus();
}
override dstring text() const {
return _text;
}
override Widget text(dstring t) {
_text = t;
return this;
}
override Widget text(UIString s) {
_text = s;
return this;
}
}