提交 6f1bc521 编写于 作者: S Serge Rider

#261 VQB panel hint rendering fix

上级 d8de1712
......@@ -1185,7 +1185,7 @@ public abstract class ERDEditorPart extends GraphicalEditorWithFlyoutPalette
public void completeLoading(EntityDiagram result) {
super.completeLoading(result);
super.visualizeLoading();
if (!result.getEntities().isEmpty()) {
if (result != null && !result.getEntities().isEmpty()) {
setErrorMessage(null);
}
getGraphicalViewer().setContents(result);
......
......@@ -78,9 +78,9 @@ public class EntityDiagramFigure extends FreeformLayer {
//setConstraint(hintFigure, );
} else {
hintFigure.setVisible(false);
EntityDiagramFigure.this.removeFigureListener(this);
}
}
EntityDiagramFigure.this.removeFigureListener(this);
}
});
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册