From 4e4dc8b8d8d9cc2dea9e586f82379fe646e636c4 Mon Sep 17 00:00:00 2001 From: Rustam Vishnyakov Date: Fri, 9 Nov 2012 20:16:34 +0400 Subject: [PATCH] Fixed IDEA-79431 selecting non-project default global scheme resets the choice to default scheme --- .../application/options/codeStyle/CodeStyleSchemesPanel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/lang-impl/src/com/intellij/application/options/codeStyle/CodeStyleSchemesPanel.java b/platform/lang-impl/src/com/intellij/application/options/codeStyle/CodeStyleSchemesPanel.java index bb9063f1f67b..0f3ad0fcf674 100644 --- a/platform/lang-impl/src/com/intellij/application/options/codeStyle/CodeStyleSchemesPanel.java +++ b/platform/lang-impl/src/com/intellij/application/options/codeStyle/CodeStyleSchemesPanel.java @@ -88,8 +88,8 @@ public class CodeStyleSchemesPanel{ myModel.setUsePerProjectSettings(true); } else { - myModel.setUsePerProjectSettings(false); myModel.selectScheme(selected, this); + myModel.setUsePerProjectSettings(false); } } }