diff --git a/invesalius/gui/task_navigator.py b/invesalius/gui/task_navigator.py index 0f767f305..ed4dc55c7 100644 --- a/invesalius/gui/task_navigator.py +++ b/invesalius/gui/task_navigator.py @@ -1716,6 +1716,8 @@ def OnTrackObjectButton(self, evt=None, ctrl=None): self.UpdateToggleButton(ctrl) pressed = self.track_object_button.GetValue() Publisher.sendMessage("Track object", enabled=pressed) + if not pressed: + Publisher.sendMessage("Press target mode button", pressed=pressed) # Disable or enable 'Show coil' button, based on if 'Track object' button is pressed. Publisher.sendMessage("Enable show-coil button", enabled=pressed)