mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-09-10 03:53:21 +02:00
Bug: NPE in preferences page
This commit is contained in:
parent
e9196ff2bb
commit
75844814e9
1 changed files with 5 additions and 3 deletions
|
@ -98,9 +98,11 @@ public class MBSWizardHandler extends CWizardHandler implements ICBuildWizardHan
|
||||||
setWizard(w);
|
setWizard(w);
|
||||||
}
|
}
|
||||||
private void setWizard(IWizard w) {
|
private void setWizard(IWizard w) {
|
||||||
if (w.getStartingPage() instanceof IWizardItemsListListener)
|
if (w != null) {
|
||||||
listener = (IWizardItemsListListener)w.getStartingPage();
|
if (w.getStartingPage() instanceof IWizardItemsListListener)
|
||||||
wizard = w;
|
listener = (IWizardItemsListListener)w.getStartingPage();
|
||||||
|
wizard = w;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void handleSelection() {
|
public void handleSelection() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue