From ac64d04c5d73635b075ad7276d561b0875dcdde6 Mon Sep 17 00:00:00 2001 From: Nav Date: Sun, 4 Jul 2021 00:30:35 +0100 Subject: [PATCH] Fixed issue with the Insight window enabling the target widget upon receiving new pin states, even when the target was still running --- src/Insight/UserInterfaces/InsightWindow/InsightWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Insight/UserInterfaces/InsightWindow/InsightWindow.cpp b/src/Insight/UserInterfaces/InsightWindow/InsightWindow.cpp index fbdd5128..b841a5aa 100644 --- a/src/Insight/UserInterfaces/InsightWindow/InsightWindow.cpp +++ b/src/Insight/UserInterfaces/InsightWindow/InsightWindow.cpp @@ -436,7 +436,7 @@ void InsightWindow::onTargetPinStatesUpdate(int variantId, Bloom::Targets::Targe && this->selectedVariant->id == variantId ) { this->targetPackageWidget->updatePinStates(pinStatesByNumber); - if (this->uiDisabled) { + if (this->targetState == TargetState::STOPPED && this->uiDisabled) { this->toggleUi(false); } else {