From 4f5a9aae068f6ca3f50b9e97bbafd9d893f8b650 Mon Sep 17 00:00:00 2001 From: Jakob Rosenberg Date: Wed, 11 May 2022 10:31:45 +0200 Subject: [PATCH] feat: disconnect button --- package.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index f96c6fcb..87925ab7 100644 --- a/package.json +++ b/package.json @@ -379,7 +379,8 @@ }, { "command": "pymakr.disconnect", - "title": "Disconnect device" + "title": "Disconnect device", + "icon": "$(debug-disconnect)" }, { "command": "pymakr.downloadProject", @@ -573,6 +574,11 @@ "when": "viewItem == device || viewItem == projectDevice", "group": "inline" }, + { + "command": "pymakr.disconnect", + "when": "viewItem == connectedProjectDevice || viewItem == connectedDevice", + "group": "inline@50" + }, { "submenu": "pymakr.projectDeviceMenu", "when": "viewItem != project",