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…
Reference in New Issue