Skip to content
Snippets Groups Projects
Commit 49ae61bf authored by srosse's avatar srosse
Browse files

OO-3336: by removing a property, set the configuration as dirty

parent 54599972
No related branches found
No related tags found
No related merge requests found
......@@ -443,7 +443,8 @@ public class PersistedProperties extends LogDelegator implements Initializable,
public void removeProperty(String propertyName, boolean saveConfiguration) {
synchronized (configuredProperties) { // make read/write save in VM
configuredProperties.remove(propertyName);
Object removedProperty = configuredProperties.remove(propertyName);
propertiesDirty |= removedProperty != null;
if (saveConfiguration) {
savePropertiesAndFireChangedEvent();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment