aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/programdock.cpp
diff options
context:
space:
mode:
authorPavel Pisa <pisa@cmp.felk.cvut.cz>2019-03-25 20:59:38 +0100
committerPavel Pisa <pisa@cmp.felk.cvut.cz>2019-03-25 20:59:38 +0100
commit50361206f7fdccc911ae9dc8095f6304fcb9bc95 (patch)
tree39f6b60bacb3ca958a84d572140ea5e60532de63 /qtmips_gui/programdock.cpp
parent9713d030bb1696269c3348cac83e13306edd65cf (diff)
downloadqtmips-50361206f7fdccc911ae9dc8095f6304fcb9bc95.tar.gz
qtmips-50361206f7fdccc911ae9dc8095f6304fcb9bc95.tar.bz2
qtmips-50361206f7fdccc911ae9dc8095f6304fcb9bc95.zip
Do not save program view start address when changed due to program executed.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_gui/programdock.cpp')
-rw-r--r--qtmips_gui/programdock.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/qtmips_gui/programdock.cpp b/qtmips_gui/programdock.cpp
index 0466cc2..60a23b0 100644
--- a/qtmips_gui/programdock.cpp
+++ b/qtmips_gui/programdock.cpp
@@ -97,6 +97,8 @@ ProgramDock::ProgramDock(QWidget *parent, QSettings *settings) : Super(parent) {
this, SLOT(set_follow_inst(int)));
connect(this, SIGNAL(focus_addr(std::uint32_t)),
program_content, SLOT(focus_address(std::uint32_t)));
+ connect(this, SIGNAL(focus_addr_with_save(std::uint32_t)),
+ program_content, SLOT(focus_address_with_save(std::uint32_t)));
connect(program_content, SIGNAL(doubleClicked(QModelIndex)),
program_model, SLOT(toggle_hw_break(QModelIndex)));
}