diff --git a/Source/Core/DolphinWX/Frame.cpp b/Source/Core/DolphinWX/Frame.cpp index d4b7ba65f74f..96752dfbcca5 100644 --- a/Source/Core/DolphinWX/Frame.cpp +++ b/Source/Core/DolphinWX/Frame.cpp @@ -1195,8 +1195,9 @@ void CFrame::OnKeyDown(wxKeyEvent& event) // Actually perform the wiimote connection or disconnection if (WiimoteId >= 0) { - bool connect = !GetMenuBar()->IsChecked(IDM_CONNECT_WIIMOTE1 + WiimoteId); - ConnectWiimote(WiimoteId, connect); + wxCommandEvent evt; + evt.SetId(IDM_CONNECT_WIIMOTE1 + WiimoteId); + OnConnectWiimote(evt); } if (g_Config.bFreeLook)