Skip to content

Commit

Permalink
more convenient node selection for main menu
Browse files Browse the repository at this point in the history
  • Loading branch information
ronpandolfi committed Nov 7, 2023
1 parent f40e349 commit a77ec86
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xicam/gui/windows/mainwindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,8 @@ def showNode(self, node=None, direction=None):
nodes = node.children
if len(nodes) > 1:
self._showNodes(nodes, direction)
if not isinstance(nodes[0].object, dict):
self.showNode(nodes[0])

elif isinstance(node.object, (PluginType,)):
nodes = node.children
Expand Down

0 comments on commit a77ec86

Please sign in to comment.