summaryrefslogtreecommitdiff
path: root/gui/gui.cc
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-04-26 14:57:56 -0400
committerbd <bdunahu@operationnull.com>2025-04-26 14:57:56 -0400
commitae2aaecfc1b2402a55e99cf674eff7b6175b0b6d (patch)
tree651c14de4eb0467d898810bdb1e136f2e5089ded /gui/gui.cc
parentb32bc409c18ceb4cd8147f11021e2c4b2746184b (diff)
Basic hex formatting on row headers for storage tables
Diffstat (limited to 'gui/gui.cc')
-rw-r--r--gui/gui.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/gui.cc b/gui/gui.cc
index 80d4a2a..2555435 100644
--- a/gui/gui.cc
+++ b/gui/gui.cc
@@ -353,7 +353,6 @@ void GUI::make_tabs(int num)
qDeleteAll(this->tab_boxes);
for (i = 0; i < num; ++i) {
- // make the name
if (i == 0) {
n = "Registers";
e = new StorageView(0, this);
@@ -371,6 +370,8 @@ void GUI::make_tabs(int num)
d = new DigitLabelDelegate(t);
connect(
+ this, &GUI::hex_toggled, e, &StorageView::set_hex_display);
+ connect(
this, &GUI::hex_toggled, d, &DigitLabelDelegate::set_hex_display);
t->setItemDelegate(d);