Изменил(а) на 'main.py'

This commit is contained in:
vova 2023-06-03 15:25:12 +03:00
parent 586e881115
commit 79f326561f

View File

@ -160,7 +160,7 @@ class AppWindow(QMainWindow):
if color.isValid(): if color.isValid():
palette = QPalette() palette = QPalette()
palette.setColor(QPalette.Button, color) palette.setColor(QPalette.Button, color)
self.color_b.setPalette(palette) self.ui.pushButton_leds_color.setPalette(palette)
for led in self.ui.led_array: for led in self.ui.led_array:
led.setStyleSheet(f"background-color: {color.name()};") led.setStyleSheet(f"background-color: {color.name()};")
for s in RGB: for s in RGB: