diff --git a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/TargetMemoryInspectionPane.cpp b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/TargetMemoryInspectionPane.cpp index 36498ac0..9fff783b 100644 --- a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/TargetMemoryInspectionPane.cpp +++ b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/TargetMemoryInspectionPane.cpp @@ -141,11 +141,14 @@ void TargetMemoryInspectionPane::refreshMemoryValues(std::optionalhexViewerWidget->refreshButton->stopSpin(); - this->hexViewerWidget->refreshButton->setDisabled(false); + + if (this->targetState == Targets::TargetState::STOPPED) { + this->hexViewerWidget->refreshButton->setDisabled(false); + } } );