Skip to content

Commit 8020bdc

Browse files
committed
1 parent 5b966de commit 8020bdc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/base/browser/ui/list/listWidget.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1066,7 +1066,7 @@ export class List<T> implements ISpliceable<T>, IDisposable {
10661066
private mouseController: MouseController<T> | undefined;
10671067

10681068
get multipleSelectionController(): IMultipleSelectionController<T> {
1069-
return this.mouseController ? this.mouseController.multipleSelectionController : DefaultMultipleSelectionContoller;
1069+
return (this.mouseController && this.mouseController.multipleSelectionController) || DefaultMultipleSelectionContoller;
10701070
}
10711071

10721072
private _onDidUpdateOptions = new Emitter<IListOptions<T>>();

0 commit comments

Comments
 (0)