1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-10 09:45:39 +02:00

Fix NPE when invoking wizard from key binding.

This commit is contained in:
Ken Ryall 2007-03-01 13:31:10 +00:00
parent 36c39970b9
commit 5e931a8a52

View file

@ -385,7 +385,7 @@ public class ImportExecutablePageTwo extends WizardPage {
configTypes.setEnabled(isCreateLaunchConfigurationSelected);
configurationName.setEnabled(isCreateLaunchConfigurationSelected);
configurationNameLabel.setEnabled(isCreateLaunchConfigurationSelected);
if (shouldUpdateButtons )
if (shouldUpdateButtons && getContainer().getCurrentPage() != null)
getContainer().updateButtons();
}