From 2f7954fcc98501501bef377411ac3cf70ec0f8cf Mon Sep 17 00:00:00 2001 From: Nav Date: Wed, 3 May 2023 21:44:05 +0100 Subject: [PATCH] Corrected regression --- .../TargetMemoryInspectionPane/TargetMemoryInspectionPane.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/TargetMemoryInspectionPane.cpp b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/TargetMemoryInspectionPane.cpp index 179cc134..00452b8a 100644 --- a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/TargetMemoryInspectionPane.cpp +++ b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/TargetMemoryInspectionPane.cpp @@ -554,6 +554,10 @@ namespace Bloom::Widgets this->refreshMemoryValues([this] { this->hexViewerWidget->setDisabled(false); }); + + } else if (this->data.has_value()) { + this->refreshButton->setDisabled(false); + this->hexViewerWidget->setDisabled(false); } }