File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/launcher Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -122,6 +122,7 @@ private Map<String, String> runShowingProgress(
122
122
private final Map <IPluginModelBase , TracingPropertySource > fPropertySources = new HashMap <>();
123
123
private FormToolkit fToolkit ;
124
124
private ScrolledPageBook fPageBook ;
125
+ private boolean activated ;
125
126
126
127
/**
127
128
* The last selected item in the list is stored in the dialog settings.
@@ -351,6 +352,7 @@ private void activateInternal(ILaunchConfiguration config) {
351
352
pluginSelected (null , false );
352
353
}
353
354
}
355
+ activated = true ;
354
356
} catch (CoreException e ) {
355
357
PDEPlugin .logException (e );
356
358
}
@@ -361,6 +363,11 @@ public void setRunnableContext(IRunnableContext runnableContext) {
361
363
}
362
364
363
365
public void performApply (ILaunchConfigurationWorkingCopy config ) {
366
+ if (!activated ) {
367
+ // nothing to apply as we weren't initialized before,
368
+ // all the data is empty anyway
369
+ return ;
370
+ }
364
371
boolean tracingEnabled = fTracingCheck .getSelection ();
365
372
config .setAttribute (IPDELauncherConstants .TRACING , tracingEnabled );
366
373
if (tracingEnabled ) {
You can’t perform that action at this time.
0 commit comments