mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
Fix registered contextkey issue (#215564)
fix registered contextkey removes others
This commit is contained in:
parent
1c74595688
commit
4666c5068d
|
@ -761,7 +761,7 @@ export class EditorParts extends MultiWindowParts<EditorPart> implements IEditor
|
|||
let groupRegisteredContextKeys = this.registeredContextKeys.get(group.id);
|
||||
if (!groupRegisteredContextKeys) {
|
||||
groupRegisteredContextKeys = new Map<string, IContextKey>();
|
||||
this.scopedContextKeys.set(group.id, groupRegisteredContextKeys);
|
||||
this.registeredContextKeys.set(group.id, groupRegisteredContextKeys);
|
||||
}
|
||||
|
||||
let scopedRegisteredContextKey = groupRegisteredContextKeys.get(provider.contextKey.key);
|
||||
|
|
Loading…
Reference in a new issue