mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-13 04:21:39 +00:00
Makes "Shake by Mouse Middle Button" work again
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4640 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
07cd58ebc0
commit
d919a641c1
7 changed files with 36 additions and 41 deletions
|
@ -191,9 +191,13 @@ void DllConfig(HWND _hParent)
|
|||
|
||||
if (!m_BasicConfigFrame)
|
||||
m_BasicConfigFrame = new WiimoteBasicConfigDialog(GetParentedWxWindow(_hParent));
|
||||
else if (!m_BasicConfigFrame->GetParent()->IsShown())
|
||||
m_BasicConfigFrame->Close(true);
|
||||
// Only allow one open at a time
|
||||
if (!m_BasicConfigFrame->IsShown())
|
||||
m_BasicConfigFrame->ShowModal();
|
||||
else
|
||||
m_BasicConfigFrame->Hide();
|
||||
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue