diff options
Diffstat (limited to 'src/Main/Forms/VolumePasswordPanel.cpp')
-rw-r--r-- | src/Main/Forms/VolumePasswordPanel.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Main/Forms/VolumePasswordPanel.cpp b/src/Main/Forms/VolumePasswordPanel.cpp index 920d4f96..3ec6aedb 100644 --- a/src/Main/Forms/VolumePasswordPanel.cpp +++ b/src/Main/Forms/VolumePasswordPanel.cpp @@ -306,6 +306,16 @@ namespace VeraCrypt { return TrueCryptModeCheckBox->GetValue (); } + + void VolumePasswordPanel::SetTrueCryptMode (bool trueCryptMode) + { + bool bEnablePIM = !trueCryptMode; + TrueCryptModeCheckBox->SetValue (trueCryptMode); + PimCheckBox->Enable (bEnablePIM); + VolumePimStaticText->Enable (bEnablePIM); + VolumePimTextCtrl->Enable (bEnablePIM); + VolumePimHelpStaticText->Enable (bEnablePIM); + } int VolumePasswordPanel::GetHeaderWipeCount () const { |