Permalink
Browse files

Qt/CheatsManager: Fix segfault in GenerateARCode

  • Loading branch information...
Techjar committed Jul 18, 2018
1 parent 98c7b23 commit 3cee7d599b9a733d3c50badbfe1eba59777274ab
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 3cee7d5

Please sign in to comment.