diff options
| author | Mat M <mathew1800@gmail.com> | 2018-07-18 18:05:45 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-07-18 18:05:45 -0400 |
| commit | bcdffdfe634f634f17bf340a8fb1c72f8524f1a2 (patch) | |
| tree | 801109a4a67ceaaf67e0a01e83ebf568832a1a81 /Source | |
| parent | 8d8707da2e772295286fe81aa6318e0ff6f17bff (diff) | |
| parent | 3cee7d599b9a733d3c50badbfe1eba59777274ab (diff) | |
Merge pull request #7280 from Techjar/qt-cheats-manager-crash
Qt/CheatsManager: Fix segfault in GenerateARCode
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Core/DolphinQt/CheatsManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
