mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-24 23:11:14 +01:00
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…
x
Reference in New Issue
Block a user