mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue