mirror of https://github.com/buggins/dlangui.git
InputBox: access to _text fix
This commit is contained in:
parent
bd4e4a1ff6
commit
1a76d96452
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue