From 54bd16e7531dc7683bd39ebf2212393a4cdca2e3 Mon Sep 17 00:00:00 2001 From: Roland Munsil Date: Mon, 24 Sep 2018 23:01:24 -0500 Subject: [PATCH] Fix typo causing "Remove from Watch" in Cheat Manager to crash Dolphin --- Source/Core/DolphinQt/CheatsManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/DolphinQt/CheatsManager.cpp b/Source/Core/DolphinQt/CheatsManager.cpp index 6f4c586f27..2565b6437b 100644 --- a/Source/Core/DolphinQt/CheatsManager.cpp +++ b/Source/Core/DolphinQt/CheatsManager.cpp @@ -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();