Config: Trigger callbacks on layer save

And remove an extraneous callback trigger in Config::Load.
This commit is contained in:
Léo Lam 2017-02-15 23:06:06 +01:00
parent 9c3265f1ef
commit 7bd34ac0b5
1 changed files with 1 additions and 2 deletions

View File

@ -353,6 +353,7 @@ void Layer::Save()
m_loader->Save(this);
ClearDirty();
CallbackSystems();
}
bool Layer::IsDirty() const
@ -436,8 +437,6 @@ void Load()
{
for (auto& layer : s_layers)
layer.second->Load();
CallbackSystems();
}
void Save()