提交 bd7f9498 编写于 作者: S Serge Rider

Content panel editor fix

上级 a884c1bb
...@@ -72,7 +72,9 @@ public class ContentPanelEditor extends BaseValueEditor<Control> { ...@@ -72,7 +72,9 @@ public class ContentPanelEditor extends BaseValueEditor<Control> {
@Override @Override
public void contributeActions(@NotNull IContributionManager manager, @NotNull IValueController controller) throws DBCException { public void contributeActions(@NotNull IContributionManager manager, @NotNull IValueController controller) throws DBCException {
manager.add(new ContentTypeSwitchAction()); if (streamManagers != null) {
manager.add(new ContentTypeSwitchAction());
}
if (streamEditor != null) { if (streamEditor != null) {
streamEditor.contributeActions(manager, control); streamEditor.contributeActions(manager, control);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册