git.lucas.co / cce-data-editor
structured data editor
git clone https://git.lucas.co/cce-data-editor.git

commit77ef666f2690fa5a9c7c09647f7440f2bf0b7e1c
parent9d783ff0c2
authorLucas Galante <[email protected]>
date2026-07-02 23:06
Added needs_rebuild flags to TreeList search box keyboard input routing

 src/main.rs | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/main.rs b/src/main.rs
index 084822b..89ab25c 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1899,6 +1899,8 @@ impl Application for DataEditorApp {
         if !handled {
             if self.tree_list.search_box.keyboard_input(event, &mut self.ui_context) {
                 handled = true;
+                *needs_rebuild = true;
+                self.needs_rebuild = true;
             }
         }
         if !handled {