mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-07 20:04:59 +00:00
ux: show conflict description in change status icon
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
f0c77ffeb8
commit
1bd2044589
1 changed files with 8 additions and 1 deletions
|
@ -126,9 +126,16 @@ namespace SourceGit.Views
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isUnstaged)
|
if (isUnstaged)
|
||||||
ToolTip.SetTip(this, TIPS[(int)c.WorkTree]);
|
{
|
||||||
|
if (c.IsConflicted)
|
||||||
|
ToolTip.SetTip(this, $"Conflict ({c.ConflictDesc})");
|
||||||
|
else
|
||||||
|
ToolTip.SetTip(this, TIPS[(int)c.WorkTree]);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
ToolTip.SetTip(this, TIPS[(int)c.Index]);
|
ToolTip.SetTip(this, TIPS[(int)c.Index]);
|
||||||
|
}
|
||||||
|
|
||||||
InvalidateVisual();
|
InvalidateVisual();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue