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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);