diff --git a/src/tt/tui/editor.py b/src/tt/tui/editor.py index 4454ed0..270641d 100644 --- a/src/tt/tui/editor.py +++ b/src/tt/tui/editor.py @@ -323,7 +323,7 @@ class TableEditor(App): item = self.get_item_callback(item_id) # found at https://github.com/Textualize/textual/discussions/1654 - self._drirefresh_data.stop_application_mode() + self._driver.stop_application_mode() new_text = get_text_from_editor(item.text) self.refresh() self._driver.start_application_mode() @@ -334,7 +334,7 @@ class TableEditor(App): def on_input_submitted(self, event: Input.Submitted): self._hide_input() if self.mode == "search": - self.refresh_data = event.value + self.search_query = event.value self.refresh_data(restore_cursor=False) elif self.mode == "filter": cconf = self._active_column_config()