Corrected regression bug with disabling the insight UI when target enters running state

This commit is contained in:
Nav
2021-12-08 00:17:30 +00:00
parent 44c2d6f45f
commit ca757f8fce

View File

@@ -169,6 +169,7 @@ void InsightWindow::onTargetStateUpdate(TargetState newState) {
if (newState == TargetState::RUNNING) {
this->targetStatusLabel->setText("Running");
this->programCounterValueLabel->setText("-");
this->toggleUi(true);
} else if (newState == TargetState::STOPPED) {
this->targetStatusLabel->setText("Stopped");