mirror of
https://github.com/Microsoft/vscode
synced 2024-10-01 08:50:48 +00:00
Context should be undefined when there nis no context (#214656)
* fix titlebar editor actions context on startup * fix titlebar editor actions context on startup * remove listener
This commit is contained in:
parent
76664e7ce6
commit
39b3c5b936
|
@ -634,7 +634,7 @@ export class BrowserTitlebarPart extends Part implements ITitlebarPart {
|
|||
this.editorToolbarMenuDisposables.add(this.actionToolBar.actionRunner);
|
||||
} else {
|
||||
this.actionToolBar.actionRunner = new ActionRunner();
|
||||
this.actionToolBar.context = {};
|
||||
this.actionToolBar.context = undefined;
|
||||
|
||||
this.editorToolbarMenuDisposables.add(this.actionToolBar.actionRunner);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue