From 8dd4e916a794592ad3435bdec82584ed4b3a2130 Mon Sep 17 00:00:00 2001 From: iwubcode Date: Fri, 1 Jul 2022 18:54:32 -0500 Subject: [PATCH] DolphinQt: save changes to disk before refreshing mod list --- Source/Core/DolphinQt/Config/GraphicsModListWidget.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Source/Core/DolphinQt/Config/GraphicsModListWidget.cpp b/Source/Core/DolphinQt/Config/GraphicsModListWidget.cpp index 712a18a558..d0ac612e61 100644 --- a/Source/Core/DolphinQt/Config/GraphicsModListWidget.cpp +++ b/Source/Core/DolphinQt/Config/GraphicsModListWidget.cpp @@ -107,6 +107,11 @@ void GraphicsModListWidget::ConnectWidgets() void GraphicsModListWidget::RefreshModList() { + if (m_needs_save) + { + SaveToDisk(); + } + m_mod_list->setCurrentItem(nullptr); m_mod_list->clear();