mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-30 20:35:38 +02:00
NPE due to an unitilitalized error parser tab in new project wizard.
This commit is contained in:
parent
5846544680
commit
79f7c5e3ae
1 changed files with 3 additions and 2 deletions
|
@ -39,10 +39,11 @@ public class ManagedProjectOptionBlock extends TabFolderOptionBlock {
|
|||
public ErrorParserBlock getErrorParserBlock() {
|
||||
return errParserBlock;
|
||||
}
|
||||
|
||||
public Control createContents(Composite parent) {
|
||||
Control control = super.createContents( parent );
|
||||
|
||||
WorkbenchHelp.setHelp(getErrorParserBlock().getControl(), ManagedBuilderHelpContextIds.MAN_PROJ_ERROR_PARSER);
|
||||
if (getErrorParserBlock()!= null)
|
||||
WorkbenchHelp.setHelp(getErrorParserBlock().getControl(), ManagedBuilderHelpContextIds.MAN_PROJ_ERROR_PARSER);
|
||||
|
||||
return control;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue