VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2015-01-03 23:52:31 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2015-01-03 23:54:12 +0100
commit9a31c238814a9e433a0b07b127503f56a9ac705a (patch)
tree6feda5330d7e5a597da211716bae7ab3d31acf32
parent55b3400afa1f94f9f7a4317750a15be6b45157a6 (diff)
downloadVeraCrypt-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.
-rw-r--r--src/Main/Forms/VolumeSizeWizardPage.cpp2
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
{