File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -561,13 +561,7 @@ public ContextMenu MakeContextMenu(ListBox list)
561561 _repo . ShowPopup ( new CheckoutCommit ( _repo , commit ) ) ;
562562 e . Handled = true ;
563563 } ;
564- menu . Items . Add ( checkoutCommit ) ;
565- }
566-
567- menu . Items . Add ( new MenuItem ( ) { Header = "-" } ) ;
568564
569- if ( current . Head != commit . SHA )
570- {
571565 var interactiveRebase = new MenuItem ( ) ;
572566 interactiveRebase . Header = new Views . NameHighlightedTextBlock ( "CommitCM.InteractiveRebase" , current . Name ) ;
573567 interactiveRebase . Icon = App . CreateMenuIcon ( "Icons.InteractiveRebase" ) ;
@@ -586,9 +580,13 @@ public ContextMenu MakeContextMenu(ListBox list)
586580
587581 e . Handled = true ;
588582 } ;
589- menu . Items . Add ( interactiveRebase ) ;
583+
584+ menu . Items . Add ( checkoutCommit ) ;
590585 menu . Items . Add ( new MenuItem ( ) { Header = "-" } ) ;
586+ menu . Items . Add ( interactiveRebase ) ;
591587 }
588+
589+ menu . Items . Add ( new MenuItem ( ) { Header = "-" } ) ;
592590 }
593591
594592 if ( current . Head != commit . SHA )
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ public List<Models.Change> Changes
8989 private set
9090 {
9191 if ( SetProperty ( ref _changes , value ) )
92- SelectedChange = value is { Count : > 0 } ? value [ 0 ] : null ;
92+ SelectedChange = value is { Count : > 0 } ? value [ 0 ] : null ;
9393 }
9494 }
9595
You can’t perform that action at this time.
0 commit comments