mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-20 11:44:59 +00:00
feature: show remote's URL in tooltip for relevant BranchTreeNodes
(#1310)
This commit is contained in:
parent
0e61a0196b
commit
5b72b15cf2
1 changed files with 2 additions and 1 deletions
|
@ -56,7 +56,8 @@ namespace SourceGit.ViewModels
|
||||||
|
|
||||||
public string Tooltip
|
public string Tooltip
|
||||||
{
|
{
|
||||||
get => Backend is Models.Branch b ? b.FriendlyName : null;
|
get => Backend is Models.Branch b ?
|
||||||
|
b.FriendlyName : (Backend is Models.Remote r ? r.URL : null);
|
||||||
}
|
}
|
||||||
|
|
||||||
private Models.FilterMode _filterMode = Models.FilterMode.None;
|
private Models.FilterMode _filterMode = Models.FilterMode.None;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue