aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui
diff options
context:
space:
mode:
authorPavel Pisa <pisa@cmp.felk.cvut.cz>2019-06-27 11:33:01 +0200
committerPavel Pisa <pisa@cmp.felk.cvut.cz>2019-06-27 13:53:35 +0200
commit687c32acda3350f91f605ae575fb394788fb4565 (patch)
treee335f0efdc7c15b764909b7fc390e5195f3dc879 /qtmips_gui
parent33fe4041f8fb9ef05cf946dae87a71005e7c72f7 (diff)
downloadqtmips-687c32acda3350f91f605ae575fb394788fb4565.tar.gz
qtmips-687c32acda3350f91f605ae575fb394788fb4565.tar.bz2
qtmips-687c32acda3350f91f605ae575fb394788fb4565.zip
Set follow fetch for program view if configuration is not found.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_gui')
-rw-r--r--qtmips_gui/programdock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qtmips_gui/programdock.cpp b/qtmips_gui/programdock.cpp
index f3d3d78..c5f40d8 100644
--- a/qtmips_gui/programdock.cpp
+++ b/qtmips_gui/programdock.cpp
@@ -52,7 +52,7 @@ ProgramDock::ProgramDock(QWidget *parent, QSettings *settings) : Super(parent) {
this->settings = settings;
follow_source = (enum FollowSource)
- settings->value("ProgramViewFollowSource", 0).toInt();
+ settings->value("ProgramViewFollowSource", FOLLOWSRC_FETCH).toInt();
for (int i = 0; i < FOLLOWSRC_COUNT; i++)
follow_addr[i] = 0;