Skip to content

Commit

Permalink
Merge pull request #862 from invesalius/always-enable-navigation-tab
Browse files Browse the repository at this point in the history
MOD: always enable navigation tab
  • Loading branch information
rmatsuda authored Oct 25, 2024
2 parents c6655cd + 8555760 commit 79d27bc
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions invesalius/gui/task_navigator.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,11 +279,10 @@ def OnFoldPressCaption(self, evt):
id = evt.GetTag().GetId()
expanded = evt.GetFoldStatus()

if expanded:
self.fold_panel.Collapse(evt.GetTag())
elif id != self.__id_nav or self.CheckRegistration():
# Only expand navigation panel if coil selection/registration is done
if not expanded:
self.fold_panel.Expand(evt.GetTag())
else:
self.fold_panel.Collapse(evt.GetTag())

def ResizeFPB(self):
sizeNeeded = self.fold_panel.GetPanelsLength(0, 0)[2]
Expand Down

0 comments on commit 79d27bc

Please sign in to comment.