From 33b0dfc7777862d24fcf104250a3587c4496b5a7 Mon Sep 17 00:00:00 2001 From: anna Date: Tue, 10 Aug 2010 19:08:03 +0400 Subject: [PATCH] set local on inspections import --- .../profile/codeInspection/ui/InspectionToolsConfigurable.java | 1 + 1 file changed, 1 insertion(+) diff --git a/platform/lang-impl/src/com/intellij/profile/codeInspection/ui/InspectionToolsConfigurable.java b/platform/lang-impl/src/com/intellij/profile/codeInspection/ui/InspectionToolsConfigurable.java index 975199019bc1..3f2bef65b39d 100644 --- a/platform/lang-impl/src/com/intellij/profile/codeInspection/ui/InspectionToolsConfigurable.java +++ b/platform/lang-impl/src/com/intellij/profile/codeInspection/ui/InspectionToolsConfigurable.java @@ -153,6 +153,7 @@ public abstract class InspectionToolsConfigurable extends BaseConfigurable imple } } profile.readExternal(rootElement); + profile.setLocal(true); profile.initInspectionTools(); if (myProfileManager.getProfile(profile.getName(), false) != null) { if (Messages.showOkCancelDialog(myWholePanel, "Profile with name \'" + profile.getName() + "\' already exists. Do you want to overwrite it?", "Warning", Messages.getInformationIcon()) != DialogWrapper.OK_EXIT_CODE) return;