mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 00:59:44 -06:00
Config: Trigger callbacks on layer save
And remove an extraneous callback trigger in Config::Load.
This commit is contained in:
@ -353,6 +353,7 @@ void Layer::Save()
|
|||||||
|
|
||||||
m_loader->Save(this);
|
m_loader->Save(this);
|
||||||
ClearDirty();
|
ClearDirty();
|
||||||
|
CallbackSystems();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Layer::IsDirty() const
|
bool Layer::IsDirty() const
|
||||||
@ -436,8 +437,6 @@ void Load()
|
|||||||
{
|
{
|
||||||
for (auto& layer : s_layers)
|
for (auto& layer : s_layers)
|
||||||
layer.second->Load();
|
layer.second->Load();
|
||||||
|
|
||||||
CallbackSystems();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Save()
|
void Save()
|
||||||
|
Reference in New Issue
Block a user