Skip to content
Snippets Groups Projects
Commit d7c0b881 authored by Johannes Eder's avatar Johannes Eder
Browse files

fixed

refs 2126
parent 27b84f5b
Branches
Tags
No related merge requests found
...@@ -117,6 +117,17 @@ public abstract class ConnectionEditPartBase<T extends ConnectionSegmentBase> ex ...@@ -117,6 +117,17 @@ public abstract class ConnectionEditPartBase<T extends ConnectionSegmentBase> ex
public void notifyChanged(Notification notification) { public void notifyChanged(Notification notification) {
super.notifyChanged(notification); super.notifyChanged(notification);
// do not care what happens, just refresh everything // do not care what happens, just refresh everything
if(notification.getEventType() == Notification.SET) {
if(notification.getNotifier() instanceof ConnectionSegmentBase) {
if(notification.getNewValue() == null) {
// fix of refs 2126
// When deleting a channel the gui is refreshed before the model markers are
// updated. So we catch the deletion of a channel here and set the icon to
// null if the channel is removed.
decorationFigure.setIcon(null);
}
}
}
refresh(); refresh();
} }
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment