Config: Trigger callbacks on layer save
And remove an extraneous callback trigger in Config::Load.
This commit is contained in:
parent
9c3265f1ef
commit
7bd34ac0b5
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue