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:
parent
159f6f5c76
commit
4389b2ff2c
1 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue