aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qtmips_gui/programtableview.cpp2
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) {