Skip to content

Commit

Permalink
fixes #52355
Browse files Browse the repository at this point in the history
  • Loading branch information
sbatten committed Jun 28, 2018
1 parent e570c63 commit 00aeb41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/base/browser/ui/actionbar/actionbar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 00aeb41

Please sign in to comment.