mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-24 17:35:35 +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);
|
||||
}
|
||||
private void setWizard(IWizard w) {
|
||||
if (w.getStartingPage() instanceof IWizardItemsListListener)
|
||||
listener = (IWizardItemsListListener)w.getStartingPage();
|
||||
wizard = w;
|
||||
if (w != null) {
|
||||
if (w.getStartingPage() instanceof IWizardItemsListListener)
|
||||
listener = (IWizardItemsListListener)w.getStartingPage();
|
||||
wizard = w;
|
||||
}
|
||||
}
|
||||
|
||||
public void handleSelection() {
|
||||
|
|
Loading…
Add table
Reference in a new issue