Commit 9066fcef authored by payno's avatar payno
Browse files

[gui][roiselector] remove warning: use getLabel instead of getName

parent ca7b7c88
......@@ -98,7 +98,7 @@ class ROISelector(qt.QWidget):
def updateAddedRegionOfInterest(self, roi):
"""Called for each added region of interest: set the name"""
if roi.getLabel() == "":
if roi.getName() == "":
roi.setName("ROI %d" % len(self._roiManager.getRois()))
def setROI(self, origin, size):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment