ColorButton sizeHint override unnecessary

This commit is contained in:
Daniel Lidstrom 2020-12-21 17:18:34 -08:00
parent 944b75ffcd
commit fab7b20094
1 changed files with 0 additions and 2 deletions

View File

@ -156,8 +156,6 @@ class WidgetParameterItem(ParameterItem):
w.sigChanging = w.textChanged
elif t == 'color':
w = ColorButton()
h = w.sizeHint().height()
w.sizeHint = lambda: QtCore.QSize(100, h)
w.sigChanged = w.sigColorChanged
w.sigChanging = w.sigColorChanging
w.value = w.color