Skip to content

Commit

Permalink
feat: disconnect button
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobrosenberg committed May 11, 2022
1 parent 0478c5d commit 4f5a9aa
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,8 @@
},
{
"command": "pymakr.disconnect",
"title": "Disconnect device"
"title": "Disconnect device",
"icon": "$(debug-disconnect)"
},
{
"command": "pymakr.downloadProject",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 4f5a9aa

Please sign in to comment.