mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-23 20:47:25 -08:00
fix<CreateBranch>: fix branch name binding issue
This commit is contained in:
parent
c7c0c07062
commit
db9d8c8e99
2 changed files with 9 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue