Commit 505636753e460d483821d8e508cf495dfb97cfab

Authored by Victor Hugo Souza
1 parent af27358d
Exists in master

FIX: Replace marker_id by label_id on CreateMarker event

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
invesalius/gui/task_navigator.py
@@ -665,7 +665,7 @@ class NeuronavigationPanel(wx.Panel): @@ -665,7 +665,7 @@ class NeuronavigationPanel(wx.Panel):
665 seed = 3 * [0.] 665 seed = 3 * [0.]
666 666
667 Publisher.sendMessage('Create marker', coord=coord, colour=colour, size=size, 667 Publisher.sendMessage('Create marker', coord=coord, colour=colour, size=size,
668 - marker_id=label, seed=seed) 668 + label=label, seed=seed)
669 else: 669 else:
670 for m in [0, 1, 2]: 670 for m in [0, 1, 2]:
671 self.numctrls_fiducial[n][m].SetValue(float(self.current_coord[m])) 671 self.numctrls_fiducial[n][m].SetValue(float(self.current_coord[m]))