Skip to content

Commit

Permalink
Fix #87804
Browse files Browse the repository at this point in the history
  • Loading branch information
Vigilans committed Dec 28, 2019
1 parent 502fe13 commit f3df207
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/workbench/contrib/files/browser/files.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export function getMultiSelectedResources(resource: URI | object | undefined, li
const list = listService.lastFocusedList;
if (list?.getHTMLElement() === document.activeElement) {
// Explorer
if (list instanceof AsyncDataTree) {
if (list instanceof AsyncDataTree && list.getFocus().every(item => item instanceof ExplorerItem)) {
// Explorer
const context = explorerService.getContext(true);
if (context.length) {
Expand Down

0 comments on commit f3df207

Please sign in to comment.