gui: fix colorselect on unset
This commit is contained in:
1 parent
4b9437962a
commit
baf2f18487
1 file changed
+1
@@ -33,6 +33,7 @@ def delete_layout_items(layout):
|
||||
class ColorSelect(QtWidgets.QPushButton):
|
||||
def __init__(self, value):
|
||||
super().__init__()
|
||||
if value:
|
||||
self.set_value(value.replace('0x', '#'))
|
||||
self.clicked.connect(self.handle_clicked)
|
||||
|
||||
|
||||
Reference in new issue
Block a user