From d52cc70b1e36b6d2e113eb313992eeb4af58b2cb Mon Sep 17 00:00:00 2001 From: Nav Date: Tue, 18 Feb 2025 22:23:51 +0000 Subject: [PATCH] Prevented flickering when toggling GPIO pad states via Insight GUI --- .../InsightWindow/Widgets/PinoutWidgets/PinoutScene.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/Insight/UserInterfaces/InsightWindow/Widgets/PinoutWidgets/PinoutScene.cpp b/src/Insight/UserInterfaces/InsightWindow/Widgets/PinoutWidgets/PinoutScene.cpp index e830e8db..0c90e337 100644 --- a/src/Insight/UserInterfaces/InsightWindow/Widgets/PinoutWidgets/PinoutScene.cpp +++ b/src/Insight/UserInterfaces/InsightWindow/Widgets/PinoutWidgets/PinoutScene.cpp @@ -404,11 +404,6 @@ namespace Widgets::PinoutWidgets } ); - QObject::connect(setPadStateTask.get(), &InsightWorkerTask::finished, this, [this] { - this->setDisabled(false); - }); - - this->setDisabled(true); InsightWorker::queueTask(setPadStateTask); } }