This commit is contained in:
isidor 2021-05-28 20:35:43 +02:00
parent f509e7552a
commit 868b84ceb9
No known key found for this signature in database
GPG key ID: F9280366A8370105

View file

@ -460,7 +460,7 @@ MenuRegistry.appendMenuItem(MenuId.ExplorerContext, {
id: CUT_FILE_ID,
title: nls.localize('cut', "Cut")
},
when: ExplorerRootContext.toNegated()
when: ContextKeyExpr.and(ExplorerRootContext.toNegated(), ExplorerResourceNotReadonlyContext)
});
MenuRegistry.appendMenuItem(MenuId.ExplorerContext, {