Fix typo causing "Remove from Watch" in Cheat Manager to crash Dolphin

This commit is contained in:
Roland Munsil 2018-09-24 23:01:24 -05:00
parent 04969f94b6
commit 54bd16e753
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ void CheatsManager::OnWatchContextMenu()
QMenu* menu = new QMenu(this);
menu->addAction(tr("Remove from Watch"), this, [this] {
auto* item = m_match_table->selectedItems()[0];
auto* item = m_watch_table->selectedItems()[0];
int index = item->data(INDEX_ROLE).toInt();