mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
DolphinQt: Call OnEmulationStateChanged when creating config window panes
Otherwise UI elements won't be disabled correctly if the config window is first opened while a game is running.
This commit is contained in:
@ -50,6 +50,8 @@ GeneralPane::GeneralPane(QWidget* parent) : QWidget(parent)
|
||||
|
||||
connect(&Settings::Instance(), &Settings::EmulationStateChanged, this,
|
||||
&GeneralPane::OnEmulationStateChanged);
|
||||
|
||||
OnEmulationStateChanged(Core::GetState());
|
||||
}
|
||||
|
||||
void GeneralPane::CreateLayout()
|
||||
|
Reference in New Issue
Block a user