aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-04-15 20:16:00 +0200
committerKarel Kočí <cynerd@email.cz>2018-04-15 20:16:00 +0200
commit731701ee554833c5e69c1eb77764cda425ca9308 (patch)
treefeec88c9042ee22c17a7e49f01779d96e720bd81
parent08c6bdaa361604a7f146a2750391926c97797912 (diff)
downloadqtmips-731701ee554833c5e69c1eb77764cda425ca9308.tar.gz
qtmips-731701ee554833c5e69c1eb77764cda425ca9308.tar.bz2
qtmips-731701ee554833c5e69c1eb77764cda425ca9308.zip
When changing focus load it back to edit field in memoryview
-rw-r--r--qtmips_gui/memoryview.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qtmips_gui/memoryview.cpp b/qtmips_gui/memoryview.cpp
index 5377ae1..d2f33d3 100644
--- a/qtmips_gui/memoryview.cpp
+++ b/qtmips_gui/memoryview.cpp
@@ -42,6 +42,7 @@ void MemoryView::set_focus(std::uint32_t address) {
} else {
memf->focus((address - addr_0) / 4);
}
+ edit_load_focus();
}
std::uint32_t MemoryView::focus() {