diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-04-15 17:14:03 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-04-15 17:14:03 +1000 |
commit | 90f3835dae164b48ee63eaf4e1d586ca34961536 (patch) | |
tree | f599bc59c1244426ea8b28704f5bc4ece4a5fbdf /source/windowing/StarTextBoxWidget.cpp | |
parent | 37d72623759ecb36e738e5f6853293a8f021d628 (diff) |
widget.getText didn't work for labels and buttons??
Diffstat (limited to 'source/windowing/StarTextBoxWidget.cpp')
-rw-r--r-- | source/windowing/StarTextBoxWidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/windowing/StarTextBoxWidget.cpp b/source/windowing/StarTextBoxWidget.cpp index 28d8f8b..984021d 100644 --- a/source/windowing/StarTextBoxWidget.cpp +++ b/source/windowing/StarTextBoxWidget.cpp @@ -154,7 +154,7 @@ void TextBoxWidget::update(float dt) { } } -String TextBoxWidget::getText() const { +String const& TextBoxWidget::getText() const { return m_text; } |