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

Navigator tree default selection fix

上级 5faf8b6a
......@@ -79,7 +79,7 @@ public class DatabaseNavigatorTree extends Composite implements INavigatorListen
super(parent, SWT.NONE);
this.setLayout(new FillLayout());
this.navigatorFilter = navigatorFilter;
this.defaultSelection = new StructuredSelection(rootNode);
this.defaultSelection = new TreeSelection(new TreePath(new Object[]{rootNode}));
this.model = DBeaverCore.getInstance().getNavigatorModel();
this.model.addListener(this);
addDisposeListener(e -> {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册