mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-10 15:40:16 +00:00
Merge pull request #7280 from Techjar/qt-cheats-manager-crash
Qt/CheatsManager: Fix segfault in GenerateARCode
This commit is contained in:
commit
bcdffdfe63
@ -227,7 +227,7 @@ void CheatsManager::GenerateARCode()
|
|||||||
if (!m_ar_code)
|
if (!m_ar_code)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
auto* item = m_match_table->selectedItems()[0];
|
auto* item = m_watch_table->selectedItems()[0];
|
||||||
|
|
||||||
int index = item->data(INDEX_ROLE).toInt();
|
int index = item->data(INDEX_ROLE).toInt();
|
||||||
ActionReplay::ARCode ar_code;
|
ActionReplay::ARCode ar_code;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user