1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 09:25:31 +02:00

Patch for bug 174425 - Fix exception in build console page.

This commit is contained in:
Doug Schaefer 2007-05-16 19:55:31 +00:00
parent 159f6f5c76
commit 4389b2ff2c

View file

@ -356,12 +356,13 @@ public class BuildConsolePage extends Page
return;
}
}
selection = new StructuredSelection(getConsole().getConsoleManager().getLastBuiltProject());
IProject project = getConsole().getConsoleManager().getLastBuiltProject();
if (project != null)
selection = new StructuredSelection(project);
}
selectionChanged(null, selection);
}
boolean setSelectionFromEditor(IEditorPart part) {
if (part == null)
return false;