Skip to content

Commit

Permalink
Merge pull request #134 from mjbvz/menu-readonly
Browse files Browse the repository at this point in the history
Disable sort context menu in readonly editors
  • Loading branch information
Tyriar authored Feb 28, 2024
2 parents d0f810f + e7bd99f commit bfa85d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
"editor/context": [
{
"command": "sortLines.sortLines",
"when": "editorTextFocus",
"when": "editorTextFocus && !editorReadonly",
"group": "sortLines@1"
}
]
Expand Down

0 comments on commit bfa85d0

Please sign in to comment.