def grprenamed(self, group, oldname, newname): microstructure = self.toolbox.findMicrostructure() if microstructure: if newname in microstructure.groupNames(): self.update(self.toolbox.currentPixel())
def grprenamed(self, group, oldname, newname): microstructure = self.toolbox.findMicrostructure() if microstructure: if newname in microstructure.groupNames(): self.update(self.toolbox.currentPixel())
def grpchanged(self, group, ms_name): microstructure = self.toolbox.findMicrostructure() if microstructure and microstructure.name() == ms_name: if group.name() in microstructure.groupNames(): self.update(self.toolbox.currentPixel())
def grpchanged(self, group, ms_name): microstructure = self.toolbox.findMicrostructure() if microstructure and microstructure.name() == ms_name: if group.name() in microstructure.groupNames(): self.update(self.toolbox.currentPixel())