mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-13 05:55:45 -04: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:
@ -62,8 +62,8 @@ void MemoryCardEditorDialog::resizeEvent(QResizeEvent* ev)
|
|||||||
|
|
||||||
void MemoryCardEditorDialog::closeEvent(QCloseEvent* ev)
|
void MemoryCardEditorDialog::closeEvent(QCloseEvent* ev)
|
||||||
{
|
{
|
||||||
promptForSave(&m_card_a);
|
m_card_a.path_cb->setCurrentIndex(0);
|
||||||
promptForSave(&m_card_b);
|
m_card_b.path_cb->setCurrentIndex(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
void MemoryCardEditorDialog::connectUi()
|
void MemoryCardEditorDialog::connectUi()
|
||||||
|
Reference in New Issue
Block a user