Removed pointless subclass method

This commit is contained in:
Daniel Lidstrom 2020-12-17 18:09:51 -08:00
parent ba304faa05
commit d9c6a2764a

View File

@ -359,11 +359,6 @@ class SimpleParameter(Parameter):
if self.opts['type'] == 'color':
self.value = self.colorValue
self.saveState = self.saveColorState
def setValue(self, value, blockSignal=None):
if self.opts['type'] == 'int':
value = int(value)
Parameter.setValue(self, value, blockSignal)
def colorValue(self):
return fn.mkColor(Parameter.value(self))