From 7bdc03116e5ed6d7dd66963f512377e219bc1e3b Mon Sep 17 00:00:00 2001 From: Nav Date: Sun, 7 May 2023 16:33:53 +0100 Subject: [PATCH] Fixed stale scene bug in hex viewer --- .../HexViewerWidget/ItemGraphicsScene.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/HexViewerWidget/ItemGraphicsScene.cpp b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/HexViewerWidget/ItemGraphicsScene.cpp index dd903caf..1475b714 100644 --- a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/HexViewerWidget/ItemGraphicsScene.cpp +++ b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/HexViewerWidget/ItemGraphicsScene.cpp @@ -563,6 +563,7 @@ namespace Bloom::Widgets } this->state.hoveredByteItem = &byteItem; + this->update(); if (this->state.settings.highlightHoveredRowAndCol) { const auto byteItemScenePos = byteItem.position(); @@ -590,6 +591,7 @@ namespace Bloom::Widgets this->hoverRectY->setVisible(false); this->hoverRectX->update(); this->hoverRectY->update(); + this->update(); emit this->hoveredAddress(std::nullopt); }