Permalink
Browse files

Merge pull request #7280 from Techjar/qt-cheats-manager-crash

Qt/CheatsManager: Fix segfault in GenerateARCode
  • Loading branch information...
lioncash committed Jul 18, 2018
2 parents 8d8707d + 3cee7d5 commit bcdffdfe634f634f17bf340a8fb1c72f8524f1a2
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;

0 comments on commit bcdffdf

Please sign in to comment.