Don't lose filter after moving facts

This commit is contained in:
3wc 2023-10-27 16:48:03 +01:00
parent b06cf1fc62
commit eb33dfb99f

View File

@ -126,7 +126,8 @@ class ActivitiesScreen(ListScreen):
self.db_manager, self.table.get_cell_at(Coordinate(event.cursor_row, 2)) self.db_manager, self.table.get_cell_at(Coordinate(event.cursor_row, 2))
) )
self.move_from_activity.move_facts(move_to_activity) self.move_from_activity.move_facts(move_to_activity)
self._refresh() filter_input = self.query_one("#filter")
self._refresh(filter_input.value)
del self.move_from_activity del self.move_from_activity