mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2025-01-23 01:36:57 -08:00
ux: context menu separator
This commit is contained in:
parent
88e64a4f31
commit
b10e084c54
1 changed files with 1 additions and 2 deletions
|
@ -1,7 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Runtime.Intrinsics.Arm;
|
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Text.Json;
|
using System.Text.Json;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
|
@ -1820,7 +1819,6 @@ namespace SourceGit.ViewModels
|
||||||
DataContext = new BranchCompare(_fullpath, branch, _currentBranch)
|
DataContext = new BranchCompare(_fullpath, branch, _currentBranch)
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
menu.Items.Add(new MenuItem() { Header = "-" });
|
|
||||||
menu.Items.Add(compareWithHead);
|
menu.Items.Add(compareWithHead);
|
||||||
|
|
||||||
if (_localChangesCount > 0)
|
if (_localChangesCount > 0)
|
||||||
|
@ -1841,6 +1839,7 @@ namespace SourceGit.ViewModels
|
||||||
};
|
};
|
||||||
menu.Items.Add(compareWithWorktree);
|
menu.Items.Add(compareWithWorktree);
|
||||||
}
|
}
|
||||||
|
menu.Items.Add(new MenuItem() { Header = "-" });
|
||||||
|
|
||||||
var delete = new MenuItem();
|
var delete = new MenuItem();
|
||||||
delete.Header = new Views.NameHighlightedTextBlock("BranchCM.Delete", name);
|
delete.Header = new Views.NameHighlightedTextBlock("BranchCM.Delete", name);
|
||||||
|
|
Loading…
Reference in a new issue