Updating initialised flag in ByteItem, for excluded bytes

This commit is contained in:
Nav
2021-12-25 20:53:21 +00:00
parent 6becb0e04a
commit e5e283a27b

View File

@@ -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();
}