From 39fe68e6f7c1f8b4001cb6e6bb23bedfdb76d594 Mon Sep 17 00:00:00 2001 From: lisyarus Date: Tue, 10 May 2022 11:58:08 +0300 Subject: [PATCH] Notify text changed when editing canceled in ui::edit --- libs/ui/source/edit.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/ui/source/edit.cpp b/libs/ui/source/edit.cpp index a62d933a..e40a5038 100644 --- a/libs/ui/source/edit.cpp +++ b/libs/ui/source/edit.cpp @@ -237,6 +237,7 @@ namespace psemek::ui stop_text_input(); reset_caret(); caret_ = std::min(caret_, text_.size()); + post_text_changed(); post_text_entered(); } }