mirror of
https://github.com/bec-project/bec_widgets.git
synced 2026-11-25 02:28:09 +01:00
fix(color_button_native): removed BECWidget inheritance
This commit is contained in:
1 parent
2bd6d00899
commit
e42ffd7c01
1 file changed
+1
-1
@@ -7,7 +7,7 @@ from qtpy.QtWidgets import QColorDialog, QPushButton
|
||||
from bec_widgets import BECWidget, SafeProperty, SafeSlot
|
||||
|
||||
|
||||
class ColorButtonNative(BECWidget, QPushButton):
|
||||
class ColorButtonNative(QPushButton):
|
||||
"""A QPushButton subclass that displays a color.
|
||||
|
||||
The background is set to the given color and the button text is the hex code.
|
||||
|
||||
Reference in new issue
Block a user