mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 04:34:59 +00:00
enhance: remember the active page index for each workspace (#445)
This commit is contained in:
parent
e63034acd5
commit
9934586ee0
2 changed files with 48 additions and 9 deletions
|
@ -31,6 +31,12 @@ namespace SourceGit.ViewModels
|
|||
set;
|
||||
} = new List<string>();
|
||||
|
||||
public int ActiveIdx
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = 0;
|
||||
|
||||
public bool IsActive
|
||||
{
|
||||
get => _isActive;
|
||||
|
@ -52,7 +58,7 @@ namespace SourceGit.ViewModels
|
|||
|
||||
private string _name = string.Empty;
|
||||
private uint _color = 0;
|
||||
private IBrush _brush = null;
|
||||
private bool _isActive = false;
|
||||
private IBrush _brush = null;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue