set local on inspections import

This commit is contained in:
anna
2010-08-12 12:39:50 +04:00
parent 18dce95c05
commit 33b0dfc777
@@ -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;