Skip to content

Commit 2ffd80a

Browse files
authored
Fix error telemetry, fixes microsoft#148439 (microsoft#159511)
* Fix error telemetry, fixes microsoft#148439 * Shorten the comment
1 parent e0aef14 commit 2ffd80a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/vs/workbench/contrib/preferences/browser/settingsWidgets.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,12 @@ export abstract class AbstractListSettingWidget<TDataItem extends object> extend
384384
this.listDisposables.add(disposableTimeout(() => rowElement.focus()));
385385
}
386386

387+
this.listDisposables.add(DOM.addDisposableListener(rowElement, 'click', (e) => {
388+
// There is a parent list widget, which is the one that holds the list of settings.
389+
// Prevent the parent widget from trying to interpret this click event.
390+
e.stopPropagation();
391+
}));
392+
387393
return rowElement;
388394
}
389395

0 commit comments

Comments
 (0)