diff options
Diffstat (limited to 'src/gui/Entry.cpp')
-rw-r--r-- | src/gui/Entry.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/Entry.cpp b/src/gui/Entry.cpp index 4f318ec..9a3fccf 100644 --- a/src/gui/Entry.cpp +++ b/src/gui/Entry.cpp @@ -89,6 +89,8 @@ namespace gsr { if(!validate_handler || validate_handler(str)) { text.set_string(std::move(str)); caret_offset_x = text.find_character_pos(99999).x - this->text.get_position().x; + if(on_changed) + on_changed(text.get_string()); } } |