Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Michel-Lemieux2004-07-27 11:30:21 -0400
committerJean Michel-Lemieux2004-07-27 11:30:21 -0400
commit0441a4578c7a8908e64b255745250ed176be6451 (patch)
tree26d46aaaadfb1a400fd72f8a3ab4ef9f397fc0ff
parent50bfeef6ed2f83ea06448025f27df29b5915b439 (diff)
downloadeclipse.platform.team-0441a4578c7a8908e64b255745250ed176be6451.tar.gz
eclipse.platform.team-0441a4578c7a8908e64b255745250ed176be6451.tar.xz
eclipse.platform.team-0441a4578c7a8908e64b255745250ed176be6451.zip
Bug 70296 Changes not being saved when comparing with revision
-rw-r--r--bundles/org.eclipse.team.ui/src/org/eclipse/team/ui/SaveablePartDialog.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.team.ui/src/org/eclipse/team/ui/SaveablePartDialog.java b/bundles/org.eclipse.team.ui/src/org/eclipse/team/ui/SaveablePartDialog.java
index 927e75abf..86aad1a0e 100644
--- a/bundles/org.eclipse.team.ui/src/org/eclipse/team/ui/SaveablePartDialog.java
+++ b/bundles/org.eclipse.team.ui/src/org/eclipse/team/ui/SaveablePartDialog.java
@@ -80,7 +80,7 @@ public class SaveablePartDialog extends ResizableDialog {
Policy.bind("ParticipantCompareDialog.3"), MessageDialog.QUESTION, new String[]{IDialogConstants.YES_LABEL, //$NON-NLS-1$
IDialogConstants.NO_LABEL}, 0); // YES is the default
- if (input.isDirty() && dialog.open() == IDialogConstants.YES_ID) {
+ if (input.isDirty() && dialog.open() == IDialogConstants.OK_ID) {
BusyIndicator.showWhile(null, new Runnable() {
public void run() {
input.doSave(new NullProgressMonitor());

Back to the top