From 94c6085f0f7874bcba212cd7b10e33713b13cbd7 Mon Sep 17 00:00:00 2001 From: Anton Makeev Date: Sat, 5 Nov 2016 23:52:43 +0100 Subject: [PATCH] CPP-7964 CLion doesn't open a folder that contains CMakeCache.txt file as project when using File | Open --- .../src/com/intellij/ide/actions/OpenFileAction.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/platform-impl/src/com/intellij/ide/actions/OpenFileAction.java b/platform/platform-impl/src/com/intellij/ide/actions/OpenFileAction.java index 0e3bd6d60725..1c813e052196 100644 --- a/platform/platform-impl/src/com/intellij/ide/actions/OpenFileAction.java +++ b/platform/platform-impl/src/com/intellij/ide/actions/OpenFileAction.java @@ -111,8 +111,8 @@ public class OpenFileAction extends AnAction implements DumbAware { Project openedProject = ProjectUtil.openOrImport(file.getPath(), project, false); if (openedProject != null) { FileChooserUtil.setLastOpenedFile(openedProject, file); - return; } + return; } }