mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-25 14:15:00 +00:00
fix(*): using TextBlock instead of Label to avoid missing characters like '-', '_', etc.
This commit is contained in:
parent
cfce4bddd7
commit
9b452bef8b
32 changed files with 52 additions and 52 deletions
|
@ -25,12 +25,12 @@ namespace SourceGit.UI {
|
|||
InitializeComponent();
|
||||
|
||||
if (changes == null || changes.Count == 0) {
|
||||
txtPath.Content = "All local changes in working copy.";
|
||||
txtPath.Text = "All local changes in working copy.";
|
||||
icon.Data = FindResource("Icon.Folder") as Geometry;
|
||||
} else if (changes.Count == 1) {
|
||||
txtPath.Content = changes[0].Path;
|
||||
txtPath.Text = changes[0].Path;
|
||||
} else {
|
||||
txtPath.Content = $"Total {changes.Count} changes ...";
|
||||
txtPath.Text = $"Total {changes.Count} changes ...";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue