mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 22:29:21 +00:00
Config: Trigger callbacks on layer save
And remove an extraneous callback trigger in Config::Load.
This commit is contained in:
parent
9c3265f1ef
commit
7bd34ac0b5
1 changed files with 1 additions and 2 deletions
|
@ -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()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue