gui: always initialize color value
This commit is contained in:
@@ -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:
|
||||||
|
Reference in New Issue
Block a user