Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix (dis)connecting wiimotes via hotkey.
Fixes issue 5594.
  • Loading branch information
rog9 committed Dec 28, 2012
1 parent c303669 commit 3ec3b76
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/Core/DolphinWX/Src/FrameTools.cpp
Expand Up @@ -50,6 +50,7 @@ Core::GetWindowHandle().
#include "LogConfigWindow.h"
#include "FifoPlayerDlg.h"
#include "WxUtils.h"
#include "Host.h"

#include "ConfigManager.h" // Core
#include "Core.h"
Expand Down Expand Up @@ -1468,6 +1469,7 @@ void CFrame::ConnectWiimote(int wm_idx, bool connect)
wxString msg(wxString::Format(wxT("Wiimote %i %s"), wm_idx + 1,
connect ? wxT("Connected") : wxT("Disconnected")));
Core::DisplayMessage(msg.ToAscii(), 3000);
Host_UpdateMainFrame();
}
}

Expand Down

0 comments on commit 3ec3b76

Please sign in to comment.