summaryrefslogtreecommitdiff
path: root/gui/gui.cc
diff options
context:
space:
mode:
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);