From b2e20b8c1d01bb39f099937497928ec7488b1bd9 Mon Sep 17 00:00:00 2001 From: Nav Date: Wed, 28 Dec 2022 15:55:40 +0000 Subject: [PATCH] Enable snapshot capturing when there's no data loaded in the memory inspection pane, if the 'Capture directly from target' option has been selected. --- .../CreateSnapshotWindow/CreateSnapshotWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/SnapshotManager/CreateSnapshotWindow/CreateSnapshotWindow.cpp b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/SnapshotManager/CreateSnapshotWindow/CreateSnapshotWindow.cpp index b8c467a9..5115e8cf 100644 --- a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/SnapshotManager/CreateSnapshotWindow/CreateSnapshotWindow.cpp +++ b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/SnapshotManager/CreateSnapshotWindow/CreateSnapshotWindow.cpp @@ -103,7 +103,7 @@ namespace Bloom::Widgets return false; } - if (!this->data.has_value()) { + if (!this->data.has_value() && !this->captureDirectlyFromTargetInput->isChecked()) { return false; }