Skip to content

Commit

Permalink
#22347 "Team" disappeared from context menu in 23.3.2 (#22350)
Browse files Browse the repository at this point in the history
Hot Fix:
Removed item "team" from context menu only for remote resources
  • Loading branch information
serjiokov committed Jan 6, 2024
1 parent f98d6b1 commit 479413e
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -633,7 +633,6 @@ private static void removeUnrelatedMenuItems(Menu menu, DBNNode node) {
continue;
}
if (id.startsWith("org.eclipse.debug") || // $NON-NLS-0$
id.startsWith("team.main") || // $NON-NLS-0$
id.startsWith("addFromHistoryAction")) { // $NON-NLS-0$
item.dispose();
}
Expand All @@ -644,7 +643,8 @@ private static void removeUnrelatedMenuItems(Menu menu, DBNNode node) {
if ((adapt.isRemoteResource() ||
adapt.getResource() instanceof IFolder) &&
(id.startsWith("compareWithMenu") || // $NON-NLS-0$
id.startsWith("replaceWithMenu"))) { // $NON-NLS-0$
id.startsWith("replaceWithMenu") ||
id.startsWith("team.main"))) { // $NON-NLS-0$
item.dispose();
}
}
Expand Down

0 comments on commit 479413e

Please sign in to comment.