From 91b47deb0e82378c330fc56f8da63ec4a25d7bc5 Mon Sep 17 00:00:00 2001 From: Jertzukka Date: Tue, 31 Oct 2023 01:08:41 +0200 Subject: Linux: Focus PIM field when selected (#1239) Sets focus to VolumePimTextCtrl initially when the checkbox is clicked. --- src/Main/Forms/VolumePasswordPanel.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Main/Forms') 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); -- cgit v1.2.3