diff options
author | Jertzukka <Jertzukka@gmail.com> | 2023-10-31 01:08:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-31 00:08:41 +0100 |
commit | 91b47deb0e82378c330fc56f8da63ec4a25d7bc5 (patch) | |
tree | 801e9afaa810587d86d4d975a7747fa3951b39a7 /src/Main/Forms | |
parent | fa6c77423d86ad58929ed4f69d4551a007b820b0 (diff) | |
download | VeraCrypt-91b47deb0e82378c330fc56f8da63ec4a25d7bc5.tar.gz VeraCrypt-91b47deb0e82378c330fc56f8da63ec4a25d7bc5.zip |
Linux: Focus PIM field when selected (#1239)
Sets focus to VolumePimTextCtrl initially when the checkbox is clicked.
Diffstat (limited to 'src/Main/Forms')
-rw-r--r-- | src/Main/Forms/VolumePasswordPanel.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Main/Forms/VolumePasswordPanel.cpp b/src/Main/Forms/VolumePasswordPanel.cpp index 32b92edc..3089ec58 100644 --- a/src/Main/Forms/VolumePasswordPanel.cpp +++ b/src/Main/Forms/VolumePasswordPanel.cpp @@ -467,6 +467,7 @@ namespace VeraCrypt VolumePimStaticText->Show (true); VolumePimTextCtrl->Show (true); VolumePimHelpStaticText->Show (true); + VolumePimTextCtrl->SetFocus(); if (DisplayPasswordCheckBox->IsChecked ()) DisplayPassword (true, &VolumePimTextCtrl, 3); |