Skip to content

Commit 91b47de

Browse files
authored
Linux: Focus PIM field when selected (#1239)
Sets focus to VolumePimTextCtrl initially when the checkbox is clicked.
1 parent fa6c774 commit 91b47de

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Main/Forms/VolumePasswordPanel.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,7 @@ namespace VeraCrypt
467467
VolumePimStaticText->Show (true);
468468
VolumePimTextCtrl->Show (true);
469469
VolumePimHelpStaticText->Show (true);
470+
VolumePimTextCtrl->SetFocus();
470471

471472
if (DisplayPasswordCheckBox->IsChecked ())
472473
DisplayPassword (true, &VolumePimTextCtrl, 3);

0 commit comments

Comments
 (0)