Small tweaks to memory address indicator on memory inspection widget

This commit is contained in:
Nav
2022-09-03 20:34:44 +01:00
parent bd2af015ec
commit 4da3a84c06
2 changed files with 3 additions and 3 deletions

View File

@@ -435,7 +435,7 @@ namespace Bloom::Widgets
this->hoveredByteWidget = widget;
this->hoveredAddressLabel->setText(
"Relative Address (Absolute Address): " + widget->relativeAddressHex + " (" + widget->addressHex + ")"
"Relative Address / Absolute Address: " + widget->relativeAddressHex + " / " + widget->addressHex
);
if (this->settings.highlightHoveredRowAndCol && !this->byteItemsByRowIndex.empty()) {
@@ -456,7 +456,7 @@ namespace Bloom::Widgets
auto* byteItem = this->hoveredByteWidget;
this->hoveredByteWidget = nullptr;
this->hoveredAddressLabel->setText("Relative Address (Absolute Address):");
this->hoveredAddressLabel->setText("Relative Address / Absolute Address:");
if (this->settings.highlightHoveredRowAndCol && !this->byteItemsByRowIndex.empty()) {
for (auto& byteWidget : this->byteItemsByColumnIndex.at(byteItem->currentColumnIndex)) {

View File

@@ -206,7 +206,7 @@
<item>
<widget class="Label" name="byte-address-label">
<property name="text">
<string>Relative Address (Absolute Address):</string>
<string>Relative Address / Absolute Address:</string>
</property>
</widget>
</item>