Skip to content

Commit ff41e50

Browse files
committed
Show run button only when db is selected
1 parent 24683f3 commit ff41e50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/ql-vscode/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1103,7 +1103,7 @@
11031103
{
11041104
"command": "codeQL.runLocalQueryFromQueriesPanel",
11051105
"group": "inline",
1106-
"when": "view == codeQLQueries && viewItem == queryFile"
1106+
"when": "view == codeQLQueries && viewItem == queryFile && codeQL.currentDatabaseItem"
11071107
},
11081108
{
11091109
"command": "codeQLTests.showOutputDifferences",

0 commit comments

Comments
 (0)