-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Settings that are saved on a project level, cannot be loaded again.
How to reproduce
Run this code after the item got the proper parentScope() (e.g. in the parentScopeChanged() slot):
qDebug() << "Before: " << this->settingsScope()->parentScope()->allSettings().size();
this->settingsScope()->parentScope()->setValue("Test", "Something");
qDebug() << "After: " << this->settingsScope()->parentScope()->allSettings().size();Expected Behavior
// Running the application for the first time
Before: 0
After: 1
// Save project, close application
// Running the application for the second time
Before: 1
After: 1Current Behavior:
// Running the application for the first time
Before: 0
After: 1
// Save project, close application
// Running the application for the second time
Failed to load item from element tagged "SettingsScope"
Before: 0
After: 1
Metadata
Metadata
Assignees
Labels
No labels