Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/sync/actions/OpenWithActionGroup.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/sync/actions/OpenWithActionGroup.java b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/sync/actions/OpenWithActionGroup.java
index 2883bb9f1..3feeb9b5b 100644
--- a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/sync/actions/OpenWithActionGroup.java
+++ b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/sync/actions/OpenWithActionGroup.java
@@ -65,12 +65,13 @@ public class OpenWithActionGroup extends SyncViewerActionGroup {
if (!(resource instanceof IFile)) {
return;
}
+
+ menu.add(openInCompareAction);
+
if(!((resource.exists()))) {
return;
}
- menu.add(openInCompareAction);
-
openFileAction.selectionChanged(selection);
menu.add(openFileAction);

Back to the top