diff options
author | Sarika Sinha | 2014-10-13 09:49:32 +0000 |
---|---|---|
committer | Dani Megert | 2014-10-13 09:49:32 +0000 |
commit | 1a87f8a17da6bd0130a666455051120c18eb9bc2 (patch) | |
tree | b08f2642086c9c7fd3e55d530f35ce2b21ce9cbf /org.eclipse.debug.ui | |
parent | 564d3bfae3140780ca5879d4cbbe3601cf6916d2 (diff) | |
download | eclipse.platform.debug-1a87f8a17da6bd0130a666455051120c18eb9bc2.tar.gz eclipse.platform.debug-1a87f8a17da6bd0130a666455051120c18eb9bc2.tar.xz eclipse.platform.debug-1a87f8a17da6bd0130a666455051120c18eb9bc2.zip |
Fixed bug 439118: LaunchConfigurationTabGroupViewer marks 'revert' as disabled when canSave() is falseI20141021-0800I20141014-0800
Signed-off-by: Sarika Sinha <sarika.sinha@in.ibm.com>
Diffstat (limited to 'org.eclipse.debug.ui')
-rw-r--r-- | org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationTabGroupViewer.java | 8 |
1 files changed, 4 insertions, 4 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 25f153593..d600542a0 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, 2013 IBM Corporation and others. + * Copyright (c) 2000, 2014 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -575,9 +575,9 @@ public class LaunchConfigurationTabGroupViewer { * updates the button states */ private void updateButtons() { - boolean dirty = isDirty() && canSave(); - fApplyButton.setEnabled(dirty); - fRevertButton.setEnabled(dirty); + boolean isDirty = isDirty(); + fApplyButton.setEnabled(isDirty && canSave()); + fRevertButton.setEnabled(isDirty); } /* (non-Javadoc) |