diff --git a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/HexViewerWidget/ByteItemGraphicsScene.cpp b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/HexViewerWidget/ByteItemGraphicsScene.cpp index 70988053..9236bc77 100644 --- a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/HexViewerWidget/ByteItemGraphicsScene.cpp +++ b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/HexViewerWidget/ByteItemGraphicsScene.cpp @@ -100,11 +100,13 @@ void ByteItemGraphicsScene::refreshRegions() { for (const auto& focusedRegion : this->focusedMemoryRegions) { auto* annotationItem = new AnnotationItem(focusedRegion, AnnotationItemPosition::BOTTOM); + annotationItem->setEnabled(this->enabled); this->addItem(annotationItem); this->annotationItems.emplace_back(annotationItem); if (focusedRegion.dataType != MemoryRegionDataType::UNKNOWN) { auto* valueAnnotationItem = new ValueAnnotationItem(focusedRegion); + valueAnnotationItem->setEnabled(this->enabled); this->addItem(valueAnnotationItem); this->annotationItems.emplace_back(valueAnnotationItem); this->valueAnnotationItems.emplace_back(valueAnnotationItem);