mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-11 10:15:39 +02:00
Fix NPE when invoking wizard from key binding.
This commit is contained in:
parent
36c39970b9
commit
5e931a8a52
1 changed files with 1 additions and 1 deletions
|
@ -385,7 +385,7 @@ public class ImportExecutablePageTwo extends WizardPage {
|
||||||
configTypes.setEnabled(isCreateLaunchConfigurationSelected);
|
configTypes.setEnabled(isCreateLaunchConfigurationSelected);
|
||||||
configurationName.setEnabled(isCreateLaunchConfigurationSelected);
|
configurationName.setEnabled(isCreateLaunchConfigurationSelected);
|
||||||
configurationNameLabel.setEnabled(isCreateLaunchConfigurationSelected);
|
configurationNameLabel.setEnabled(isCreateLaunchConfigurationSelected);
|
||||||
if (shouldUpdateButtons )
|
if (shouldUpdateButtons && getContainer().getCurrentPage() != null)
|
||||||
getContainer().updateButtons();
|
getContainer().updateButtons();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue