Fix typo causing "Remove from Watch" in Cheat Manager to crash Dolphin
This commit is contained in:
parent
04969f94b6
commit
54bd16e753
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue