fix(editor): DataModel not remembering file path when opening rather than saving

This commit is contained in:
maelstrom 2025-06-08 03:50:13 +02:00
parent 6d733e82d4
commit 9d72d7f47a

View file

@ -90,6 +90,7 @@ std::shared_ptr<DataModel> DataModel::LoadFromFile(std::string path) {
newModel->services[className] = std::dynamic_pointer_cast<Service>(service);
}
newModel->currentFile = path;
newModel->Init();
return newModel;