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.hpp | |
parent | 37d72623759ecb36e738e5f6853293a8f021d628 (diff) |
widget.getText didn't work for labels and buttons??
Diffstat (limited to 'source/windowing/StarTextBoxWidget.hpp')
-rw-r--r-- | source/windowing/StarTextBoxWidget.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/windowing/StarTextBoxWidget.hpp b/source/windowing/StarTextBoxWidget.hpp index 11a0527..12294d5 100644 --- a/source/windowing/StarTextBoxWidget.hpp +++ b/source/windowing/StarTextBoxWidget.hpp @@ -13,7 +13,7 @@ public: virtual void update(float dt) override; - String getText() const; + String const& getText() const; bool setText(String const& text, bool callback = true); bool getHidden() const; |