eclipse plugin: Fix a nullreference exception when there...
...is currently no selection on the workspace
This commit is contained in:
parent
d15b996f68
commit
5c36e9cc91
1 changed files with 2 additions and 1 deletions
|
@ -232,7 +232,8 @@ public class WizardLauncherPage0 extends NewWizardPageTemplate
|
|||
// opened file
|
||||
lblCurrentFileOpened.setEnabled(!radioNewFile.getSelection());
|
||||
|
||||
txtDirectory_.setText(getWizard().getSelectionContainer().getFullPath().toString());
|
||||
if (getWizard().getSelectionContainer() != null)
|
||||
txtDirectory_.setText(getWizard().getSelectionContainer().getFullPath().toString());
|
||||
updatePageIsComplete();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue