mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-22 20:37:19 -08:00
fix(DiffViewer): hide original file name when it's /dev/null
This commit is contained in:
parent
a743cf6bd5
commit
90b92b1944
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ namespace SourceGit.UI {
|
|||
/// <param name="orgFile"></param>
|
||||
private void SetTitle(string file, string orgFile) {
|
||||
fileName.Text = file;
|
||||
if (!string.IsNullOrEmpty(orgFile)) {
|
||||
if (!string.IsNullOrEmpty(orgFile) && orgFile != "/dev/null") {
|
||||
orgFileNamePanel.Visibility = Visibility.Visible;
|
||||
orgFileName.Text = orgFile;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue