Skip to content

Commit

Permalink
FIX: Button colors were not updated in MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
vhosouza committed Jul 5, 2024
1 parent 0646990 commit 46c0d3c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions invesalius/gui/task_navigator.py
Original file line number Diff line number Diff line change
Expand Up @@ -742,6 +742,8 @@ def SetTrackerFiducial(self, fiducial_index):
self.next_button.Enable()
self.StopRegistration()

self.Refresh()

def OnFiducialButton(self, index, evt):
button = self.fiducial_buttons[index]

Expand All @@ -762,6 +764,7 @@ def ResetICP(self):

def OnReset(self, evt):
self.tracker.ResetTrackerFiducials()
self.Refresh()

def OnResetTrackerFiducials(self):
self.UpdateElements()
Expand Down

0 comments on commit 46c0d3c

Please sign in to comment.