optimize(TwoCommitsDiff): remove unused code

This commit is contained in:
leo 2020-09-25 17:31:11 +08:00
parent 5592c652f7
commit d2f5e2caf0

View file

@ -219,17 +219,6 @@ namespace SourceGit.UI {
e.Handled = true; e.Handled = true;
} }
private void ChangeListMouseDoubleClick(object sender, MouseButtonEventArgs e) {
var row = sender as DataGridRow;
if (row == null) return;
var change = row.DataContext as Git.Change;
if (change == null) return;
var viewer = new FileHistories(repo, change.Path);
viewer.Show();
}
private void SortTreeNodes(List<Node> list) { private void SortTreeNodes(List<Node> list) {
list.Sort((l, r) => { list.Sort((l, r) => {
if (l.IsFile) { if (l.IsFile) {