Fixing the DMA test

This commit is contained in:
Zoe Roux
2021-02-04 09:27:04 +01:00
parent 33bb057ee6
commit 2e4e39a696
2 changed files with 3 additions and 3 deletions

View File

@@ -147,7 +147,7 @@ namespace ComSquare::Debugger
if (dialogUI.checkBox->isChecked()) {
try {
value = this->switchToAddrTab(value);
} catch (InvalidAddress &) {}
} catch (const InvalidAddress &) {}
}
QModelIndex index = this->_ui.tableView->model()->index(value >> 4, value & 0x0F);
this->_ui.tableView->scrollTo(index);