Commit a6843134e1548c6a1b1c8a71e188b501b5395654
Committed by
GitHub
1 parent
68f684f9
Exists in
master
Fix error on update navigation status (#411)
* Fix error on self.current_coord using tuple instead of list
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
invesalius/gui/task_navigator.py
... | ... | @@ -1442,7 +1442,7 @@ class MarkersPanel(wx.Panel): |
1442 | 1442 | |
1443 | 1443 | def UpdateNavigationStatus(self, nav_status, vis_status): |
1444 | 1444 | if not nav_status: |
1445 | - self.current_coord[3:] = None, None, None | |
1445 | + self.current_coord = [None, None, None] | |
1446 | 1446 | self.nav_status = False |
1447 | 1447 | else: |
1448 | 1448 | self.nav_status = True | ... | ... |