From a2545a18b21000f874e2704157a4004de8ae0bb2 Mon Sep 17 00:00:00 2001 From: Techjar Date: Fri, 23 Nov 2018 05:38:04 -0500 Subject: [PATCH] Qt/ControllersWindow: Fix Wiimote settings not being re-enabled after quitting NetPlay We no longer allow accessing controller config while NetPlay is running, so this check is no longer needed. --- Source/Core/DolphinQt/Config/ControllersWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/DolphinQt/Config/ControllersWindow.cpp b/Source/Core/DolphinQt/Config/ControllersWindow.cpp index b49a447ceb..8570b6ff18 100644 --- a/Source/Core/DolphinQt/Config/ControllersWindow.cpp +++ b/Source/Core/DolphinQt/Config/ControllersWindow.cpp @@ -373,7 +373,7 @@ void ControllersWindow::OnWiimoteRefreshPressed() void ControllersWindow::OnEmulationStateChanged(bool running) { - if (!SConfig::GetInstance().bWii || NetPlay::IsNetPlayRunning()) + if (!SConfig::GetInstance().bWii) { m_wiimote_sync->setEnabled(!running); m_wiimote_reset->setEnabled(!running);