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.
This commit is contained in:
Techjar 2018-11-23 05:38:04 -05:00
parent 754d934a18
commit a2545a18b2

View File

@ -373,7 +373,7 @@ void ControllersWindow::OnWiimoteRefreshPressed()
void ControllersWindow::OnEmulationStateChanged(bool running) void ControllersWindow::OnEmulationStateChanged(bool running)
{ {
if (!SConfig::GetInstance().bWii || NetPlay::IsNetPlayRunning()) if (!SConfig::GetInstance().bWii)
{ {
m_wiimote_sync->setEnabled(!running); m_wiimote_sync->setEnabled(!running);
m_wiimote_reset->setEnabled(!running); m_wiimote_reset->setEnabled(!running);