Revert "Merge remote-tracking branch 'origin/GP-653_UserDefinedCspec--SQUASHED'"

This commit is contained in:
ghidra1 2021-04-30 10:34:54 -04:00
parent b7499e1bc1
commit a40370ab7a
108 changed files with 2000 additions and 8000 deletions

View file

@ -481,8 +481,7 @@ public abstract class DomainObjectAdapterDB extends DomainObjectAdapter
*/
protected boolean propertyChanged(String propertyName, Object oldValue, Object newValue) {
setChanged(true);
fireEvent(
new DomainObjectChangeRecord(DomainObject.DO_PROPERTY_CHANGED, propertyName, newValue));
fireEvent(new DomainObjectChangeRecord(DomainObject.DO_PROPERTY_CHANGED, name, name));
return true;
}

View file

@ -157,8 +157,6 @@ class OptionsDB extends AbstractOptions {
public synchronized void removeOption(String propertyName) {
super.removeOption(propertyName);
removePropertyFromDB(propertyName);
// NOTE: AbstractOptions does not provide removal notification
notifyOptionChanged(propertyName, null, null);
}
private void removePropertyFromDB(String propertyName) {
@ -333,7 +331,7 @@ class OptionsDB extends AbstractOptions {
@Override
protected boolean notifyOptionChanged(String optionName, Object oldValue, Object newValue) {
return domainObj.propertyChanged(optionName, oldValue, newValue);
return domainObj.propertyChanged(name, oldValue, newValue);
}
}