diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2015-01-03 23:52:31 +0100 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2015-01-03 23:54:12 +0100 |
commit | 9a31c238814a9e433a0b07b127503f56a9ac705a (patch) | |
tree | 6feda5330d7e5a597da211716bae7ab3d31acf32 /src/Main/Forms | |
parent | 55b3400afa1f94f9f7a4317750a15be6b45157a6 (diff) | |
download | VeraCrypt-9a31c238814a9e433a0b07b127503f56a9ac705a.tar.gz VeraCrypt-9a31c238814a9e433a0b07b127503f56a9ac705a.zip |
Linux/MacOSX: workaround for wxWidgets bug in the method wxTextEntry::IsEmpty that made it impossible to enter a one digit size for the volume.
Diffstat (limited to 'src/Main/Forms')
-rw-r--r-- | src/Main/Forms/VolumeSizeWizardPage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Main/Forms/VolumeSizeWizardPage.cpp b/src/Main/Forms/VolumeSizeWizardPage.cpp index ffd26f66..94cdbaf1 100644 --- a/src/Main/Forms/VolumeSizeWizardPage.cpp +++ b/src/Main/Forms/VolumeSizeWizardPage.cpp @@ -89,7 +89,7 @@ namespace VeraCrypt bool VolumeSizeWizardPage::IsValid () { - if (!VolumeSizeTextCtrl->IsEmpty() && Validate()) + if (!VolumeSizeTextCtrl->GetValue().empty() && Validate()) { try { |