Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Pazderski2019-07-02 15:37:22 -0400
committerPaul Pazderski2019-07-03 11:49:09 -0400
commit1605af525409605090bed5f2aad81ecebf2b534e (patch)
tree3d31ce6d05a62e84b043a48e353267f1c3e674ba /org.eclipse.debug.ui/ui
parent7907da8e73316345d971683cc5671026c313da1e (diff)
downloadeclipse.platform.debug-1605af525409605090bed5f2aad81ecebf2b534e.tar.gz
eclipse.platform.debug-1605af525409605090bed5f2aad81ecebf2b534e.tar.xz
eclipse.platform.debug-1605af525409605090bed5f2aad81ecebf2b534e.zip
Bug 548885 - Launch dialog's 'Show Command Line' disabled after apply
Change-Id: I7f8e2db74cdadec7b0c484435cc1230a75f0f6fc Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
Diffstat (limited to 'org.eclipse.debug.ui/ui')
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationTabGroupViewer.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationTabGroupViewer.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationTabGroupViewer.java
index 75201c55d..b09e8fddd 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationTabGroupViewer.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationTabGroupViewer.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2018 IBM Corporation and others.
+ * Copyright (c) 2000, 2019 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
@@ -1520,12 +1520,14 @@ public class LaunchConfigurationTabGroupViewer {
saved[0] = fWorkingCopy.doSave(ILaunchConfiguration.UPDATE_PROTOTYPE_CHILDREN);
}
}
- updateButtons();
- fInitializingTabs = false;
}
catch (CoreException e) {exception = e;}
catch (InvocationTargetException e) {exception = e;}
catch (InterruptedException e) {exception = e;}
+ finally { fInitializingTabs = false; }
+
+ updateButtons();
+
if(exception != null) {
DebugUIPlugin.errorDialog(getShell(), LaunchConfigurationsMessages.LaunchConfigurationDialog_Launch_Configuration_Error_46, LaunchConfigurationsMessages.LaunchConfigurationDialog_Exception_occurred_while_saving_launch_configuration_47, exception); //
return null;

Back to the top