Compare commits

..

No commits in common. "57ee1f7dbd9f55aecb1111bd67ef08d9434de927" and "aff003fd6dab3e181cddcf53d2a61c823c2d41bb" have entirely different histories.

3 changed files with 4 additions and 7 deletions

View file

@ -1 +1 @@
2025.18 2025.17

View file

@ -35,7 +35,7 @@
<Button Grid.Column="0" Classes="icon_button" VerticalAlignment="Bottom" Margin="6,0,2,3" IsVisible="{OnPlatform True, macOS=False}"> <Button Grid.Column="0" Classes="icon_button" VerticalAlignment="Bottom" Margin="6,0,2,3" IsVisible="{OnPlatform True, macOS=False}">
<Button.Flyout> <Button.Flyout>
<MenuFlyout Placement="BottomEdgeAlignedLeft" VerticalOffset="-8"> <MenuFlyout Placement="BottomEdgeAlignedLeft" VerticalOffset="-8">
<MenuItem Header="{DynamicResource Text.Preferences}" Command="{x:Static s:App.OpenPreferencesCommand}" InputGesture="Ctrl+,"> <MenuItem Header="{DynamicResource Text.Preferences}" Command="{x:Static s:App.OpenPreferencesCommand}" InputGesture="Ctrl+Shift+P">
<MenuItem.Icon> <MenuItem.Icon>
<Path Width="14" Height="14" Data="{StaticResource Icons.Settings}"/> <Path Width="14" Height="14" Data="{StaticResource Icons.Settings}"/>
</MenuItem.Icon> </MenuItem.Icon>

View file

@ -264,11 +264,8 @@ namespace SourceGit.Views
} }
else if (e.Key == Key.Escape) else if (e.Key == Key.Escape)
{ {
if (vm.Switcher != null)
vm.CancelSwitcher();
else
vm.ActivePage.CancelPopup(); vm.ActivePage.CancelPopup();
vm.CancelSwitcher();
e.Handled = true; e.Handled = true;
return; return;
} }