From 03ef7f0f8be05a735f4071d56e2a33893ea018f0 Mon Sep 17 00:00:00 2001 From: Nav Date: Sun, 19 Mar 2023 00:20:05 +0000 Subject: [PATCH] Fixed regression bug with byte item hovering when row/col highlighting is disabled --- .../HexViewerWidget/ItemGraphicsScene.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/HexViewerWidget/ItemGraphicsScene.cpp b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/HexViewerWidget/ItemGraphicsScene.cpp index 737b6f9e..8fe23c40 100644 --- a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/HexViewerWidget/ItemGraphicsScene.cpp +++ b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/HexViewerWidget/ItemGraphicsScene.cpp @@ -619,11 +619,19 @@ namespace Bloom::Widgets this->hoverRectY->update(); } + if (byteItem.allocatedGraphicsItem != nullptr) { + byteItem.allocatedGraphicsItem->update(); + } + emit this->hoveredAddress(byteItem.startAddress); } void ItemGraphicsScene::onByteItemLeave() { if (this->state.hoveredByteItem != nullptr) { + if (this->state.hoveredByteItem->allocatedGraphicsItem != nullptr) { + this->state.hoveredByteItem->allocatedGraphicsItem->update(); + } + this->state.hoveredByteItem = nullptr; }