Fixed segmentation fault caused by invalid iterators, in the hex viewer graphcis scene

This commit is contained in:
Nav
2023-03-07 22:36:04 +00:00
parent ec44ccb60e
commit c1c64b965c

View File

@@ -192,6 +192,7 @@ namespace Bloom::Widgets
this->hoverRectY->setRect(hoverRectY);
this->topLevelGroup->adjustItemPositions(availableWidth);
this->refreshItemPositionIndices();
this->setSceneRect(
0,
@@ -204,8 +205,6 @@ namespace Bloom::Widgets
)
);
this->refreshItemPositionIndices();
this->byteAddressContainer->adjustAddressLabels(this->firstByteItemByLine);
const auto* view = this->views().first();