Skip to content

Commit 8cf85bd

Browse files
benibenjBenjamin Simmonds
andauthored
TreeView Checkbox State set to 0 fixed (microsoft#183342)
Checkbox State set 0 fix Co-authored-by: Benjamin Simmonds <[email protected]>
1 parent 6c63b9e commit 8cf85bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/api/common/extHostTreeViews.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -764,7 +764,7 @@ class ExtHostTreeView<T> extends Disposable {
764764
}
765765

766766
private getCheckbox(extensionTreeItem: vscode.TreeItem2): ITreeItemCheckboxState | undefined {
767-
if (!extensionTreeItem.checkboxState) {
767+
if (extensionTreeItem.checkboxState === undefined) {
768768
return undefined;
769769
}
770770
let checkboxState: TreeItemCheckboxState;

0 commit comments

Comments
 (0)