mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 19:42:36 +02:00
Revert "Merge remote-tracking branch 'origin/GP-653_UserDefinedCspec--SQUASHED'"
This commit is contained in:
parent
b7499e1bc1
commit
a40370ab7a
108 changed files with 2000 additions and 8000 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue