mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-20 19:55:00 +00:00
feature: remember last active tab index if restore tabs is enabled
This commit is contained in:
parent
0e824f12b4
commit
3bf962d745
2 changed files with 11 additions and 0 deletions
|
@ -178,6 +178,11 @@ namespace SourceGit.ViewModels {
|
|||
set;
|
||||
} = new List<string>();
|
||||
|
||||
public int LastActiveTabIdx {
|
||||
get;
|
||||
set;
|
||||
} = 0;
|
||||
|
||||
public static void AddNode(RepositoryNode node, RepositoryNode to = null) {
|
||||
var collection = to == null ? _instance._repositoryNodes : to.SubNodes;
|
||||
var list = new List<RepositoryNode>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue