mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 04:34:59 +00:00
enhance: re-calculate the opened repositories in active workspace (#511)
This commit is contained in:
parent
28c59ee0ab
commit
acf71a30b8
2 changed files with 36 additions and 10 deletions
|
@ -51,12 +51,6 @@ namespace SourceGit.ViewModels
|
|||
get => new SolidColorBrush(_color);
|
||||
}
|
||||
|
||||
public void AddRepository(string repo)
|
||||
{
|
||||
if (!Repositories.Contains(repo))
|
||||
Repositories.Add(repo);
|
||||
}
|
||||
|
||||
private string _name = string.Empty;
|
||||
private uint _color = 4278221015;
|
||||
private bool _isActive = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue