Skip to content

Commit

Permalink
MOD: always enable navigation tab
Browse files Browse the repository at this point in the history
  • Loading branch information
rmatsuda committed Oct 25, 2024
1 parent c6655cd commit 8555760
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 8555760

Please sign in to comment.