mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-21 03:54:57 +00:00
Qt/CheatsManager: Fix segfault in GenerateARCode
This commit is contained in:
parent
98c7b232c4
commit
3cee7d599b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue