aboutsummaryrefslogtreecommitdiff
path: root/src/gui/Entry.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-11-05 00:17:03 +0100
committerdec05eba <dec05eba@protonmail.com>2024-11-05 00:17:03 +0100
commit07a64ffd954b4273bd6afc7fa03b284c3dced640 (patch)
tree5689dc492cec6d009de3b858fd9dfeb326b0c062 /src/gui/Entry.cpp
parent610fca510d4cafd4ed5851109bca6fe17154c578 (diff)
Add replay ram usage estimation
Diffstat (limited to 'src/gui/Entry.cpp')
-rw-r--r--src/gui/Entry.cpp2
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());
}
}