From 65b36e157c5799337ff735685b7f2aeccedb35f4 Mon Sep 17 00:00:00 2001 From: Eugene Zhuravlev Date: Mon, 30 Apr 2012 15:19:08 +0200 Subject: [PATCH] always add new excludes to the end of the list (IDEA-85358) --- .../openapi/compiler/options/ExcludedEntriesConfigurable.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/compiler/openapi/src/com/intellij/openapi/compiler/options/ExcludedEntriesConfigurable.java b/java/compiler/openapi/src/com/intellij/openapi/compiler/options/ExcludedEntriesConfigurable.java index 30cef270105d..a11d37e8c0a8 100644 --- a/java/compiler/openapi/src/com/intellij/openapi/compiler/options/ExcludedEntriesConfigurable.java +++ b/java/compiler/openapi/src/com/intellij/openapi/compiler/options/ExcludedEntriesConfigurable.java @@ -149,7 +149,7 @@ public class ExcludedEntriesConfigurable implements UnnamedConfigurable { } private void addPath(FileChooserDescriptor descriptor) { - int selected = myExcludedTable.getSelectedRow() + 1; + int selected = -1 /*myExcludedTable.getSelectedRow() + 1*/; if(selected < 0) { selected = myExcludeEntryDescriptions.size(); }