mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 09:08:53 +01:00
fixes #52355
This commit is contained in:
@@ -154,7 +154,7 @@ export class BaseActionItem implements IActionItem {
|
||||
DOM.EventHelper.stop(event, true);
|
||||
|
||||
let context: any;
|
||||
if (types.isUndefinedOrNull(this._context)) {
|
||||
if (types.isUndefinedOrNull(this._context) || !types.isObject(this._context)) {
|
||||
context = event;
|
||||
} else {
|
||||
context = this._context;
|
||||
|
||||
Reference in New Issue
Block a user