mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-20 11:44:59 +00:00
feature: show tags count in tags tree (#1306)
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
5b72b15cf2
commit
6bf930a9e0
3 changed files with 24 additions and 6 deletions
|
@ -56,8 +56,16 @@ namespace SourceGit.ViewModels
|
|||
|
||||
public string Tooltip
|
||||
{
|
||||
get => Backend is Models.Branch b ?
|
||||
b.FriendlyName : (Backend is Models.Remote r ? r.URL : null);
|
||||
get
|
||||
{
|
||||
if (Backend is Models.Branch b)
|
||||
return b.FriendlyName;
|
||||
|
||||
if (Backend is Models.Remote r)
|
||||
return r.URL;
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
private Models.FilterMode _filterMode = Models.FilterMode.None;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue