mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
Revert "Merge remote-tracking branch 'origin/GP-653_UserDefinedCspec--SQUASHED'"
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user