mirror of
https://github.com/wismna/ModernKeePass.git
synced 2025-10-03 15:40:18 -04:00
Corrected some Sonar issues
Changed a little bit the Open and Set credentials User controls
This commit is contained in:
@@ -35,17 +35,13 @@
|
||||
x:Uid="CompositeKeyPassword"
|
||||
x:Name="PasswordBox"
|
||||
Password="{Binding Password, Mode=TwoWay}"
|
||||
IsPasswordRevealButtonEnabled="True" >
|
||||
<interactivity:Interaction.Behaviors>
|
||||
<core:EventTriggerBehavior EventName="GotFocus">
|
||||
<core:ChangePropertyAction TargetObject="{Binding}" PropertyName="HasPassword" Value="True" />
|
||||
</core:EventTriggerBehavior>
|
||||
</interactivity:Interaction.Behaviors>
|
||||
</PasswordBox>
|
||||
IsEnabled="{Binding HasPassword}"
|
||||
IsPasswordRevealButtonEnabled="True" />
|
||||
<PasswordBox Grid.Row="1" Grid.Column="1" Height="30"
|
||||
x:Uid="CompositeKeyConfirmPassword"
|
||||
x:Name="ConfirmPasswordBox"
|
||||
Password="{Binding ConfirmPassword, Mode=TwoWay}"
|
||||
IsEnabled="{Binding HasPassword}"
|
||||
IsPasswordRevealButtonEnabled="True" />
|
||||
<ProgressBar Grid.Row="1" Grid.Column="1"
|
||||
Maximum="128" VerticalAlignment="Bottom"
|
||||
|
Reference in New Issue
Block a user