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';
3
3
import type { GroupableTreeViewTypes } from '../constants.views' ;
4
4
import type { Container } from '../container' ;
5
5
import { executeCommand , registerCommand } from '../system/vscode/command' ;
6
- import { setContext } from '../system/vscode/context' ;
7
6
import { BranchesView } from './branchesView' ;
8
7
import { CommitsView } from './commitsView' ;
9
8
import { ContributorsView } from './contributorsView' ;
@@ -58,7 +57,6 @@ export class ScmGroupedView implements Disposable {
58
57
59
58
if ( this . _view ?. type === type ) return this . _view as TreeViewByType [ T ] ;
60
59
61
- void setContext ( 'gitlens:views:scm:grouped:view' , type ) ;
62
60
this . _view ?. dispose ( ) ;
63
61
64
62
this . _view = this . getView ( type ) ;
Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ export class Views implements Disposable {
65
65
}
66
66
set lastSelectedScmGroupedView ( type : GroupableTreeViewTypes | undefined ) {
67
67
this . _lastSelectedScmGroupedView = type ;
68
+ void setContext ( 'gitlens:views:scm:grouped:view' , type ) ;
68
69
void this . container . storage . storeWorkspace ( 'views:scm:grouped:selected' , type ) ;
69
70
}
70
71
You can’t perform that action at this time.
0 commit comments