From 07a64ffd954b4273bd6afc7fa03b284c3dced640 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 5 Nov 2024 00:17:03 +0100 Subject: Add replay ram usage estimation --- src/gui/Entry.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui/Entry.cpp') 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()); } } -- cgit v1.2.3