From 367ba57442eaa252914a80e7e507df2538a5d8da Mon Sep 17 00:00:00 2001 From: anna Date: Thu, 29 Oct 2009 14:49:26 +0300 Subject: [PATCH] Web IDE doesn't contain project inspection settings: use application settings instead --- .../spellchecker/settings/SpellCheckerSettingsPane.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/spellchecker/src/com/intellij/spellchecker/settings/SpellCheckerSettingsPane.java b/plugins/spellchecker/src/com/intellij/spellchecker/settings/SpellCheckerSettingsPane.java index 379e6eb17b16..98488787ab99 100644 --- a/plugins/spellchecker/src/com/intellij/spellchecker/settings/SpellCheckerSettingsPane.java +++ b/plugins/spellchecker/src/com/intellij/spellchecker/settings/SpellCheckerSettingsPane.java @@ -23,7 +23,7 @@ import com.intellij.openapi.project.Project; import com.intellij.openapi.ui.Messages; import com.intellij.openapi.util.Pair; import com.intellij.openapi.util.io.FileUtil; -import com.intellij.profile.codeInspection.ui.ProjectInspectionToolsConfigurable; +import com.intellij.profile.codeInspection.ui.ErrorsConfigurable; import com.intellij.spellchecker.SpellCheckerManager; import com.intellij.spellchecker.dictionary.Dictionary; import com.intellij.spellchecker.util.SPFileUtil; @@ -66,7 +66,7 @@ public class SpellCheckerSettingsPane implements Disposable { public void hyperlinkUpdate(final HyperlinkEvent e) { if (e.getEventType() == HyperlinkEvent.EventType.ACTIVATED) { final OptionsEditor optionsEditor = OptionsEditor.KEY.getData(DataManager.getInstance().getDataContext()); - final ProjectInspectionToolsConfigurable toolsConfigurable = ProjectInspectionToolsConfigurable.getInstance(project); + final ErrorsConfigurable toolsConfigurable = ErrorsConfigurable.SERVICE.getInstance(project); if (optionsEditor != null && toolsConfigurable != null) { optionsEditor.select(toolsConfigurable).doWhenDone(new Runnable() { public void run() {