From eee1589aa3afc0c479365c05078bb778d7199c91 Mon Sep 17 00:00:00 2001 From: Christian Aguilera Date: Sat, 15 Aug 2020 22:29:07 +0100 Subject: [PATCH] Restoring NetPlay Session Browser dialog's settings before connecting widgets, to prevent multiple refresh requests on change. --- Source/Core/DolphinQt/NetPlay/NetPlayBrowser.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/Core/DolphinQt/NetPlay/NetPlayBrowser.cpp b/Source/Core/DolphinQt/NetPlay/NetPlayBrowser.cpp index fc8f201b90..f5cb95eaa9 100644 --- a/Source/Core/DolphinQt/NetPlay/NetPlayBrowser.cpp +++ b/Source/Core/DolphinQt/NetPlay/NetPlayBrowser.cpp @@ -35,6 +35,7 @@ NetPlayBrowser::NetPlayBrowser(QWidget* parent) : QDialog(parent) setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint); CreateWidgets(); + RestoreSettings(); ConnectWidgets(); resize(750, 500); @@ -45,8 +46,6 @@ NetPlayBrowser::NetPlayBrowser(QWidget* parent) : QDialog(parent) m_refresh_run.Set(true); m_refresh_thread = std::thread([this] { RefreshLoop(); }); - RestoreSettings(); - UpdateList(); Refresh(); }