Skip to content

Commit 9ee4564

Browse files
#8093: remove duplicate TreeSpeedSearch installation (it's already installed in the parent SimpleTree).
1 parent 5ab4d66 commit 9ee4564

File tree

1 file changed

+5
-1
lines changed
  • PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/component

1 file changed

+5
-1
lines changed

PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/component/Tree.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ protected void init(@Nonnull Node<?> root) {
5555
this.putClientProperty(ANIMATION_IN_RENDERER_ALLOWED, true);
5656
this.getSelectionModel().setSelectionMode(TreeSelectionModel.SINGLE_TREE_SELECTION);
5757
TreeUtil.installActions(this);
58-
TreeUIHelper.getInstance().installTreeSpeedSearch(this);
5958
TreeUIHelper.getInstance().installSmartExpander(this);
6059
TreeUIHelper.getInstance().installSelectionSaver(this);
6160
TreeUIHelper.getInstance().installEditSourceOnEnterKeyHandler(this);
@@ -261,6 +260,11 @@ private void removeLoadMoreNode() {
261260
}
262261
});
263262
}
263+
264+
@Override
265+
public String toString() {
266+
return this.inner.getView().getLabel();
267+
}
264268
}
265269

266270
public static class NodeRenderer extends com.intellij.ide.util.treeView.NodeRenderer {

0 commit comments

Comments
 (0)