mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07: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();
|
||||
LoadGUIValues();
|
||||
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()
|
||||
|
Loading…
Reference in New Issue
Block a user