mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-24 02:40:24 +08:00
fix<CreateBranch>: fix branch name binding issue
This commit is contained in:
@@ -117,6 +117,14 @@ namespace SourceGit.Commands {
|
||||
}
|
||||
}
|
||||
|
||||
decorators.Sort((l, r) => {
|
||||
if (l.Type != r.Type) {
|
||||
return (int)l.Type - (int)r.Type;
|
||||
} else {
|
||||
return l.Name.CompareTo(r.Name);
|
||||
}
|
||||
});
|
||||
|
||||
return isHeadOfCurrent;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<controls:PopupWidget
|
||||
x:Class="SourceGit.Views.Popups.CreateBranch"
|
||||
x:Name="me"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
|
||||
Reference in New Issue
Block a user