Without events, removing a component left connection relations to the
DB, which then caused problems with undo handling, and corruption of
component structure.
gitlab #35
Change-Id: I1e67df0db3fcdc71c5191411e2e93d9df18791cf
if (next == comp) {
next = null;
syncnext = false;
+ firePropertyChanged(Plant3D.URIs.HasNext);
syncNext();
} else if (previous == comp) {
previous = null;
syncprev = false;
+ firePropertyChanged(Plant3D.URIs.HasPrevious);
syncPrevious();
} else if (branch0 == comp) {
branch0 = null;
syncbr0 = false;
+ firePropertyChanged(Plant3D.URIs.HasBranch0);
syncBranch0();
}
}