diff --git a/platform/vcs-impl/shared/src/com/intellij/openapi/vcs/changes/ui/NonSelectableNodeFilteringSelectionModel.kt b/platform/vcs-impl/shared/src/com/intellij/openapi/vcs/changes/ui/NonSelectableNodeFilteringSelectionModel.kt index c311613466b2..f51e8ab184e7 100644 --- a/platform/vcs-impl/shared/src/com/intellij/openapi/vcs/changes/ui/NonSelectableNodeFilteringSelectionModel.kt +++ b/platform/vcs-impl/shared/src/com/intellij/openapi/vcs/changes/ui/NonSelectableNodeFilteringSelectionModel.kt @@ -9,7 +9,7 @@ import javax.swing.tree.TreePath * SelectionModel that ignores selection requests for nodes marked with [ChangesBrowserNodeKeys.NON_SELECTABLE]. */ @ApiStatus.Internal -internal class NonSelectableNodeFilteringSelectionModel : DefaultTreeSelectionModel() { +class NonSelectableNodeFilteringSelectionModel : DefaultTreeSelectionModel() { private fun TreePath?.isNonSelectable(): Boolean { if (this == null) return false val node = this.lastPathComponent as? ChangesBrowserNode<*> ?: return false