mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-26 23:55:40 +00:00
Qt/MemoryCardEditor: Set combobox indices to 0 on close event
Fixes persisting dirty card state when reopening memory card editor.
This commit is contained in:
parent
25d4060bce
commit
39d1628da5
|
@ -62,8 +62,8 @@ void MemoryCardEditorDialog::resizeEvent(QResizeEvent* ev)
|
|||
|
||||
void MemoryCardEditorDialog::closeEvent(QCloseEvent* ev)
|
||||
{
|
||||
promptForSave(&m_card_a);
|
||||
promptForSave(&m_card_b);
|
||||
m_card_a.path_cb->setCurrentIndex(0);
|
||||
m_card_b.path_cb->setCurrentIndex(0);
|
||||
}
|
||||
|
||||
void MemoryCardEditorDialog::connectUi()
|
||||
|
|
Loading…
Reference in a new issue