diff --git a/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ui/ChangesListView.java b/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ui/ChangesListView.java index 2e9eaecbc7ea..4c9a625c7e73 100644 --- a/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ui/ChangesListView.java +++ b/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ui/ChangesListView.java @@ -8,6 +8,7 @@ import com.intellij.openapi.actionSystem.*; import com.intellij.openapi.fileChooser.actions.VirtualFileDeleteProvider; import com.intellij.openapi.fileEditor.OpenFileDescriptor; import com.intellij.openapi.project.Project; +import com.intellij.openapi.util.registry.Registry; import com.intellij.openapi.vcs.FilePath; import com.intellij.openapi.vcs.FileStatus; import com.intellij.openapi.vcs.VcsDataKeys; @@ -371,6 +372,9 @@ public class ChangesListView extends Tree implements TypeSafeDataProvider, DnDAw if (node instanceof ChangesBrowserChangeListNode) { return ((ChangesBrowserChangeListNode)node).getAllChangesUnder(); } + if (node == getRoot() && Registry.is("vcs.skip.single.default.changelist")) { + return getRoot().getAllChangesUnder(); + } node = (DefaultMutableTreeNode)node.getParent(); } return null;