提交 447f320f 编写于 作者: S serge-rider

#3998 Foreign key create fix


Former-commit-id: 872acba8
上级 2557fc3f
......@@ -96,7 +96,9 @@ public abstract class NodeListControl extends ObjectListControl<DBNNode> impleme
// Add drag and drop support
NavigatorUtils.addDragAndDropSupport(getItemsViewer());
EditorUtils.trackControlContext(workbenchSite, this.getItemsViewer().getControl(), INavigatorModelView.NAVIGATOR_CONTEXT_ID);
if (workbenchSite != null) {
EditorUtils.trackControlContext(workbenchSite, this.getItemsViewer().getControl(), INavigatorModelView.NAVIGATOR_CONTEXT_ID);
}
DBeaverCore.getInstance().getNavigatorModel().addListener(this);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册