diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2015-06-28 20:19:19 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2015-06-28 20:25:22 +0200 |
commit | 439e0a9588f83e93b609563bcef0a03b13928534 (patch) | |
tree | 371492ae2fdb8c448deaa82358ac26e846f7a021 /src/Main/Forms/VolumePasswordPanel.cpp | |
parent | da8aec4292ab27928f4f9a2f2645c46029de7553 (diff) | |
download | VeraCrypt-439e0a9588f83e93b609563bcef0a03b13928534.tar.gz VeraCrypt-439e0a9588f83e93b609563bcef0a03b13928534.zip |
Linux/MacOSX: Add dedicated PIM page in the volume creation wizard. Correct PIM value check logic.
Diffstat (limited to 'src/Main/Forms/VolumePasswordPanel.cpp')
-rw-r--r--[-rwxr-xr-x] | src/Main/Forms/VolumePasswordPanel.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Main/Forms/VolumePasswordPanel.cpp b/src/Main/Forms/VolumePasswordPanel.cpp index 5385d6c8..8c0133eb 100755..100644 --- a/src/Main/Forms/VolumePasswordPanel.cpp +++ b/src/Main/Forms/VolumePasswordPanel.cpp @@ -55,8 +55,9 @@ namespace VeraCrypt PasswordTextCtrl->Show (enablePassword); DisplayPasswordCheckBox->Show (enablePassword); - VolumePimTextCtrl->Show (enablePassword); - VolumePinHelpStaticText->Show (enablePassword); + VolumePimStaticText->Show (enablePassword && (!enableConfirmation || (enablePkcs5Prf && !isMountPassword))); + VolumePimTextCtrl->Show (enablePassword && (!enableConfirmation || (enablePkcs5Prf && !isMountPassword))); + VolumePinHelpStaticText->Show (enablePassword && (!enableConfirmation || (enablePkcs5Prf && !isMountPassword))); ConfirmPasswordStaticText->Show (enableConfirmation); ConfirmPasswordTextCtrl->Show (enableConfirmation); |