Skip to content
Snippets Groups Projects
Commit 833e3e77 authored by Florian Hölzl's avatar Florian Hölzl
Browse files

bugfix

refs 1029
parent a6ce3cfe
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,7 @@ import org.fortiss.tooling.kernel.ui.service.IModelElementHandlerService;
* @author hoelzl
* @author $Author$
* @version $Rev$
* @ConQAT.Rating GREEN Hash: 923DCFE4AFDFE04EC5831959D031495A
* @ConQAT.Rating YELLOW Hash: AABA307F945C1A10D0F3F3C6617901E5
*/
public abstract class GraphicalEditPartBase<T extends EObject> extends AbstractGraphicalEditPart {
......@@ -49,8 +49,11 @@ public abstract class GraphicalEditPartBase<T extends EObject> extends AbstractG
@Override
public void notifyChanged(Notification notification) {
super.notifyChanged(notification);
// do not care what happens, just refresh everything
refresh();
// if not removing adapters, just refresh everything
if(notification.getEventType() != Notification.REMOVING_ADAPTER) {
refresh();
}
}
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment