Corrected bug with HexViewerItem::allocatedGraphicsItem being cleared unexpectedly upon graphic item allocation in the hex viewer
This commit is contained in:
@@ -38,6 +38,10 @@ namespace Bloom::Widgets
|
||||
return;
|
||||
}
|
||||
|
||||
if (this->hexViewerItem->allocatedGraphicsItem != nullptr) {
|
||||
this->hexViewerItem->allocatedGraphicsItem->setHexViewerItem(nullptr);
|
||||
}
|
||||
|
||||
this->hexViewerItem->allocatedGraphicsItem = this;
|
||||
this->setPos(this->hexViewerItem->position());
|
||||
this->setVisible(true);
|
||||
|
||||
Reference in New Issue
Block a user