mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
WX: Reload Wii config pane on config change
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user