File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ import type { Commands } from '../constants.commands';
33import type { GroupableTreeViewTypes } from '../constants.views' ;
44import type { Container } from '../container' ;
55import { executeCommand , registerCommand } from '../system/vscode/command' ;
6- import { setContext } from '../system/vscode/context' ;
76import { BranchesView } from './branchesView' ;
87import { CommitsView } from './commitsView' ;
98import { ContributorsView } from './contributorsView' ;
@@ -58,7 +57,6 @@ export class ScmGroupedView implements Disposable {
5857
5958 if ( this . _view ?. type === type ) return this . _view as TreeViewByType [ T ] ;
6059
61- void setContext ( 'gitlens:views:scm:grouped:view' , type ) ;
6260 this . _view ?. dispose ( ) ;
6361
6462 this . _view = this . getView ( type ) ;
Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ export class Views implements Disposable {
6565 }
6666 set lastSelectedScmGroupedView ( type : GroupableTreeViewTypes | undefined ) {
6767 this . _lastSelectedScmGroupedView = type ;
68+ void setContext ( 'gitlens:views:scm:grouped:view' , type ) ;
6869 void this . container . storage . storeWorkspace ( 'views:scm:grouped:selected' , type ) ;
6970 }
7071
You can’t perform that action at this time.
0 commit comments