diff --git a/platform/lang-impl/src/com/intellij/codeInspection/ui/Browser.java b/platform/lang-impl/src/com/intellij/codeInspection/ui/Browser.java index 9db2d9e1afdf..ce8378d0b917 100644 --- a/platform/lang-impl/src/com/intellij/codeInspection/ui/Browser.java +++ b/platform/lang-impl/src/com/intellij/codeInspection/ui/Browser.java @@ -417,7 +417,7 @@ class Browser extends JPanel { public void showEmpty() { myCurrentEntity = null; try { - myHTMLViewer.read(new StringReader(""), null); + myHTMLViewer.read(new StringReader(InspectionsBundle.message("inspection.offline.view.empty.browser.text")), null); } catch (IOException e) { //can't be diff --git a/platform/lang-impl/src/com/intellij/codeInspection/ui/InspectionResultsView.java b/platform/lang-impl/src/com/intellij/codeInspection/ui/InspectionResultsView.java index c76f4f61accf..ed196a32d77e 100644 --- a/platform/lang-impl/src/com/intellij/codeInspection/ui/InspectionResultsView.java +++ b/platform/lang-impl/src/com/intellij/codeInspection/ui/InspectionResultsView.java @@ -173,6 +173,7 @@ public class InspectionResultsView extends JPanel implements Disposable, Occuren }); createActionsToolbar(); + TreeUtil.selectFirstNode(myTree); } private void initTreeListeners() { diff --git a/platform/platform-resources-en/src/messages/InspectionsBundle.properties b/platform/platform-resources-en/src/messages/InspectionsBundle.properties index 6c4927b08387..8a786eef920f 100644 --- a/platform/platform-resources-en/src/messages/InspectionsBundle.properties +++ b/platform/platform-resources-en/src/messages/InspectionsBundle.properties @@ -226,7 +226,7 @@ inspection.export.error.writing.to=Error writing to {0} inspection.export.results.error.title=Inspection Results Export inspection.export.inspections.link.text=Inspections inspection.export.open.source.link.text=Open source -inspection.offline.view.empty.browser.text=Select tree node for detailed information +inspection.offline.view.empty.browser.text=Select inspection result on the left to see details inspection.offline.view.tool.display.name.title=Name inspection.generating.html.progress.title=Generating HTML... inspection.generating.xml.progress.title=Dumping XML...