mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-13 23:44:09 +01:00
* Fix error telemetry, fixes #148439 * Shorten the comment
This commit is contained in:
@@ -384,6 +384,12 @@ export abstract class AbstractListSettingWidget<TDataItem extends object> extend
|
||||
this.listDisposables.add(disposableTimeout(() => rowElement.focus()));
|
||||
}
|
||||
|
||||
this.listDisposables.add(DOM.addDisposableListener(rowElement, 'click', (e) => {
|
||||
// There is a parent list widget, which is the one that holds the list of settings.
|
||||
// Prevent the parent widget from trying to interpret this click event.
|
||||
e.stopPropagation();
|
||||
}));
|
||||
|
||||
return rowElement;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user