From e5e283a27ba273b7d71fd904ddb622403f69e1e9 Mon Sep 17 00:00:00 2001 From: Nav Date: Sat, 25 Dec 2021 20:53:21 +0000 Subject: [PATCH] Updating initialised flag in ByteItem, for excluded bytes --- .../TargetMemoryInspectionPane/HexViewerWidget/ByteItem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/HexViewerWidget/ByteItem.cpp b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/HexViewerWidget/ByteItem.cpp index a5ba7527..544bf672 100644 --- a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/HexViewerWidget/ByteItem.cpp +++ b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/HexViewerWidget/ByteItem.cpp @@ -41,7 +41,7 @@ void ByteItem::setValue(unsigned char value) { this->asciiValue = (this->value >= 32 && this->value <= 126) ? std::optional(QString(QChar(this->value))) : std::nullopt; - this->valueInitialised = true; + this->valueInitialised = this->excludedMemoryRegion == nullptr; this->update(); }