Fixed issue with the Insight window enabling the target widget upon receiving new pin states, even when the target was still running

This commit is contained in:
Nav
2021-07-04 00:30:35 +01:00
parent 8145708851
commit ac64d04c5d

View File

@@ -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 {