From f8cf28143afb31a9f2dd2cb09bf135ff3136e3a3 Mon Sep 17 00:00:00 2001 From: Danil Iarosh Date: Tue, 30 Jun 2026 09:56:29 +0300 Subject: [PATCH] Fix NameError: name 'Qt' is not defined in led_test_section.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Импортирован модуль Qt из PySide6.QtCore в файле led_test_section.py, чтобы исправить ошибку при вызове QColorDialog.getColor. - Проект успешно пересобран в dist. --- app/widgets/sections/led_test_section.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/widgets/sections/led_test_section.py b/app/widgets/sections/led_test_section.py index dcd1b81..6f3bbe7 100644 --- a/app/widgets/sections/led_test_section.py +++ b/app/widgets/sections/led_test_section.py @@ -6,7 +6,7 @@ from __future__ import annotations -from PySide6.QtCore import QTimer +from PySide6.QtCore import Qt, QTimer from PySide6.QtWidgets import ( QCheckBox, QColorDialog,