gui: always initialize color value

This commit is contained in:
hellerve committed 2019-07-29 17:43:41 +02:00
1 parent de210bdd31
commit 4cac073099
1 file changed
+2
+2
View File
@@ -31,6 +31,8 @@ def delete_layout_items(layout):
class ColorSelect(QtWidgets.QPushButton): class ColorSelect(QtWidgets.QPushButton):
self._value = None
def __init__(self, value): def __init__(self, value):
super().__init__() super().__init__()
if value: if value: