add enter shortcut for unlocking the store

This commit is contained in:
2026-03-26 20:42:17 +03:00
parent 120c99dbb9
commit 81335ce7ad

View File

@@ -154,7 +154,11 @@
Text="{Binding UnlockPassword, Mode=TwoWay}"
PasswordChar="*"
Width="450"
Loaded="UnlockPasswordEdit_Loaded" />
Loaded="UnlockPasswordEdit_Loaded">
<TextBox.KeyBindings>
<KeyBinding Gesture="Return" Command="{Binding TryUnlock}"/>
</TextBox.KeyBindings>
</TextBox>
<Button x:Name="UnlockButton"
Command="{Binding TryUnlock}"