Prevented flickering when toggling GPIO pad states via Insight GUI
This commit is contained in:
@@ -404,11 +404,6 @@ namespace Widgets::PinoutWidgets
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
QObject::connect(setPadStateTask.get(), &InsightWorkerTask::finished, this, [this] {
|
|
||||||
this->setDisabled(false);
|
|
||||||
});
|
|
||||||
|
|
||||||
this->setDisabled(true);
|
|
||||||
InsightWorker::queueTask(setPadStateTask);
|
InsightWorker::queueTask(setPadStateTask);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user