mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-12 14:46:49 +01:00
WX: Reload Wii config pane on config change
This commit is contained in:
parent
b2c41cec0a
commit
e471505632
@ -42,6 +42,9 @@ WiiConfigPane::WiiConfigPane(wxWindow* parent, wxWindowID id) : wxPanel(parent,
|
|||||||
InitializeGUI();
|
InitializeGUI();
|
||||||
LoadGUIValues();
|
LoadGUIValues();
|
||||||
BindEvents();
|
BindEvents();
|
||||||
|
// This is only safe because WiiConfigPane is owned by CConfigMain, which exists
|
||||||
|
// as long as the DolphinWX app exists.
|
||||||
|
Config::AddConfigChangedCallback([&] { Core::QueueHostJob([&] { LoadGUIValues(); }, true); });
|
||||||
}
|
}
|
||||||
|
|
||||||
void WiiConfigPane::InitializeGUI()
|
void WiiConfigPane::InitializeGUI()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user