diff options
author | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-03-31 23:43:04 +0200 |
---|---|---|
committer | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-03-31 23:43:04 +0200 |
commit | b255043ab5996c6c9086d2f31f04f5132153cd7a (patch) | |
tree | 151e9614fe4747899c77f61cc084f246a1dcdd2e /qtmips_gui | |
parent | 04ee076f6a0fd1600602dec0f256eac27a0959e3 (diff) | |
download | qtmips-b255043ab5996c6c9086d2f31f04f5132153cd7a.tar.gz qtmips-b255043ab5996c6c9086d2f31f04f5132153cd7a.tar.bz2 qtmips-b255043ab5996c6c9086d2f31f04f5132153cd7a.zip |
The follow stage selects address cell to make rest visible.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_gui')
-rw-r--r-- | qtmips_gui/programtableview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qtmips_gui/programtableview.cpp b/qtmips_gui/programtableview.cpp index a1b7fd2..bd69464 100644 --- a/qtmips_gui/programtableview.cpp +++ b/qtmips_gui/programtableview.cpp @@ -203,7 +203,7 @@ void ProgramTableView::focus_address(std::uint32_t address) { go_to_address_priv(address); if (!m->get_row_for_address(row, address)) return; - setCurrentIndex(m->index(row, 3)); + setCurrentIndex(m->index(row, 1)); } void ProgramTableView::focus_address_with_save(std::uint32_t address) { |