mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +01:00
DolphinQt: save changes to disk before refreshing mod list
This commit is contained in:
parent
469aac5e68
commit
8dd4e916a7
@ -107,6 +107,11 @@ void GraphicsModListWidget::ConnectWidgets()
|
|||||||
|
|
||||||
void GraphicsModListWidget::RefreshModList()
|
void GraphicsModListWidget::RefreshModList()
|
||||||
{
|
{
|
||||||
|
if (m_needs_save)
|
||||||
|
{
|
||||||
|
SaveToDisk();
|
||||||
|
}
|
||||||
|
|
||||||
m_mod_list->setCurrentItem(nullptr);
|
m_mod_list->setCurrentItem(nullptr);
|
||||||
m_mod_list->clear();
|
m_mod_list->clear();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user