mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-01 06:05:24 +02:00
Fix class cast exception when going to wizard second time.
When going to a wizard, but hitting back, we reuse the wizard object when we hit next again. The cast was incorrect for that object. Change-Id: I1210f17d57d26b76a47eaedd0f92bb9c63496bf8
This commit is contained in:
parent
eb93740aba
commit
494fbe48cb
1 changed files with 1 additions and 2 deletions
|
@ -26,7 +26,6 @@ import org.eclipse.jface.wizard.Wizard;
|
|||
import org.eclipse.jface.wizard.WizardPage;
|
||||
import org.eclipse.launchbar.ui.internal.Activator;
|
||||
import org.eclipse.launchbar.ui.internal.Messages;
|
||||
import org.eclipse.launchbar.ui.target.LaunchTargetWizard;
|
||||
import org.eclipse.swt.SWT;
|
||||
import org.eclipse.swt.events.SelectionEvent;
|
||||
import org.eclipse.swt.events.SelectionListener;
|
||||
|
@ -157,7 +156,7 @@ class NewLaunchTargetWizardSelectionPage extends WizardPage {
|
|||
return null;
|
||||
}
|
||||
} else {
|
||||
nextWizard = (LaunchTargetWizard) obj;
|
||||
nextWizard = (Wizard) obj;
|
||||
}
|
||||
|
||||
return nextWizard.getStartingPage();
|
||||
|
|
Loading…
Add table
Reference in a new issue