1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 11:08:02 -06:00

Linux: Focus PIM field when selected (#1239)

Sets focus to VolumePimTextCtrl initially when the checkbox is clicked.
This commit is contained in:
Jertzukka
2023-10-31 01:08:41 +02:00
committed by GitHub
parent fa6c77423d
commit 91b47deb0e

View File

@@ -467,6 +467,7 @@ namespace VeraCrypt
VolumePimStaticText->Show (true);
VolumePimTextCtrl->Show (true);
VolumePimHelpStaticText->Show (true);
VolumePimTextCtrl->SetFocus();
if (DisplayPasswordCheckBox->IsChecked ())
DisplayPassword (true, &VolumePimTextCtrl, 3);