@@ -51,7 +51,7 @@ private void OnUnstagedChangeDoubleTapped(object _, RoutedEventArgs e)
5151 {
5252 var next = UnstagedChangesView . GetNextChangeWithoutSelection ( ) ;
5353 vm . StageSelected ( next ) ;
54- UnstagedChangesView . Focus ( ) ;
54+ UnstagedChangesView . TakeFocus ( ) ;
5555 e . Handled = true ;
5656 }
5757 }
@@ -62,7 +62,7 @@ private void OnStagedChangeDoubleTapped(object _, RoutedEventArgs e)
6262 {
6363 var next = StagedChangesView . GetNextChangeWithoutSelection ( ) ;
6464 vm . UnstageSelected ( next ) ;
65- StagedChangesView . Focus ( ) ;
65+ StagedChangesView . TakeFocus ( ) ;
6666 e . Handled = true ;
6767 }
6868 }
@@ -75,7 +75,7 @@ private void OnUnstagedKeyDown(object _, KeyEventArgs e)
7575 {
7676 var next = UnstagedChangesView . GetNextChangeWithoutSelection ( ) ;
7777 vm . StageSelected ( next ) ;
78- UnstagedChangesView . Focus ( ) ;
78+ UnstagedChangesView . TakeFocus ( ) ;
7979 e . Handled = true ;
8080 return ;
8181 }
@@ -94,7 +94,7 @@ private void OnStagedKeyDown(object _, KeyEventArgs e)
9494 {
9595 var next = StagedChangesView . GetNextChangeWithoutSelection ( ) ;
9696 vm . UnstageSelected ( next ) ;
97- StagedChangesView . Focus ( ) ;
97+ StagedChangesView . TakeFocus ( ) ;
9898 e . Handled = true ;
9999 }
100100 }
@@ -105,7 +105,7 @@ private void OnStageSelectedButtonClicked(object _, RoutedEventArgs e)
105105 {
106106 var next = UnstagedChangesView . GetNextChangeWithoutSelection ( ) ;
107107 vm . StageSelected ( next ) ;
108- UnstagedChangesView . Focus ( ) ;
108+ UnstagedChangesView . TakeFocus ( ) ;
109109 }
110110
111111 e . Handled = true ;
@@ -117,7 +117,7 @@ private void OnUnstageSelectedButtonClicked(object _, RoutedEventArgs e)
117117 {
118118 var next = StagedChangesView . GetNextChangeWithoutSelection ( ) ;
119119 vm . UnstageSelected ( next ) ;
120- StagedChangesView . Focus ( ) ;
120+ StagedChangesView . TakeFocus ( ) ;
121121 }
122122
123123 e . Handled = true ;
0 commit comments