mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 04:34:59 +00:00
feature: add property RestoreOnStartup
property to ViewModels.Workspace
(#488)
This commit is contained in:
parent
900ebd8282
commit
84fda6a8db
9 changed files with 59 additions and 25 deletions
|
@ -43,6 +43,12 @@ namespace SourceGit.ViewModels
|
|||
set => SetProperty(ref _isActive, value);
|
||||
}
|
||||
|
||||
public bool RestoreOnStartup
|
||||
{
|
||||
get => _restoreOnStartup;
|
||||
set => SetProperty(ref _restoreOnStartup, value);
|
||||
}
|
||||
|
||||
[JsonIgnore]
|
||||
public IBrush Brush
|
||||
{
|
||||
|
@ -57,8 +63,9 @@ namespace SourceGit.ViewModels
|
|||
}
|
||||
|
||||
private string _name = string.Empty;
|
||||
private uint _color = 0;
|
||||
private uint _color = 4278221015;
|
||||
private bool _isActive = false;
|
||||
private IBrush _brush = null;
|
||||
private bool _restoreOnStartup = true;
|
||||
private IBrush _brush = new SolidColorBrush(4278221015);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue