From b255043ab5996c6c9086d2f31f04f5132153cd7a Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Sun, 31 Mar 2019 23:43:04 +0200 Subject: The follow stage selects address cell to make rest visible. Signed-off-by: Pavel Pisa --- qtmips_gui/programtableview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qtmips_gui') 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) { -- cgit v1.2.3