From 3cee7d599b9a733d3c50badbfe1eba59777274ab Mon Sep 17 00:00:00 2001 From: Techjar Date: Wed, 18 Jul 2018 17:56:31 -0400 Subject: [PATCH] Qt/CheatsManager: Fix segfault in GenerateARCode --- 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 ac53aae794..c782001430 100644 --- a/Source/Core/DolphinQt/CheatsManager.cpp +++ b/Source/Core/DolphinQt/CheatsManager.cpp @@ -227,7 +227,7 @@ void CheatsManager::GenerateARCode() if (!m_ar_code) return; - auto* item = m_match_table->selectedItems()[0]; + auto* item = m_watch_table->selectedItems()[0]; int index = item->data(INDEX_ROLE).toInt(); ActionReplay::ARCode ar_code;