enhance: tag push behavior while creating and deleting (#999)

- Remember the state of `Push to all remotes after created` checkbox while creating tag
- Remember the state of `Delete from remote repositories` checkbox while deleting tag
- Change default state of `Delete from remote repositories` to `false`

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo 2025-02-19 10:35:34 +08:00
parent 5d2cd8b2fa
commit 59638eb731
No known key found for this signature in database
5 changed files with 25 additions and 13 deletions

View file

@ -84,7 +84,7 @@
<CheckBox Grid.Row="5" Grid.Column="1"
Content="{DynamicResource Text.CreateTag.PushToAllRemotes}"
IsChecked="{Binding PushToAllRemotes, Mode=TwoWay}"/>
IsChecked="{Binding PushToRemotes, Mode=TwoWay}"/>
</Grid>
</StackPanel>
</UserControl>

View file

@ -23,7 +23,7 @@
<CheckBox Grid.Row="1" Grid.Column="1"
Content="{DynamicResource Text.DeleteTag.WithRemote}"
IsChecked="{Binding ShouldPushToRemote, Mode=TwoWay}"/>
IsChecked="{Binding PushToRemotes, Mode=TwoWay}"/>
</Grid>
</StackPanel>
</UserControl>