Skip to content

Commit bc04fa4

Browse files
authored
Merge pull request #206 from eibx/feature/move-cursor
Use move_cursor instead of select_node
2 parents 84e1c50 + 371fef0 commit bc04fa4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sqlit/domains/explorer/ui/mixins/tree_filter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ def _jump_to_current_match(self: TreeFilterMixinHost) -> None:
9494
node = self._tree_filter_matches[self._tree_filter_match_index]
9595
# Expand ancestors to make node visible
9696
self._expand_ancestors(node)
97-
# Select the node
98-
self.object_tree.select_node(node)
97+
# Move cursor to node
98+
self.object_tree.move_cursor(node)
9999

100100
def _expand_ancestors(self: TreeFilterMixinHost, node: Any) -> None:
101101
"""Expand all ancestor nodes to make a node visible."""

0 commit comments

Comments
 (0)