mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 11:08:02 -06:00
Linux/MacOSX: workaround for wxWidgets bug in the method wxTextEntry::IsEmpty that made it impossible to enter a one digit size for the volume.
This commit is contained in:
@@ -89,7 +89,7 @@ namespace VeraCrypt
|
||||
|
||||
bool VolumeSizeWizardPage::IsValid ()
|
||||
{
|
||||
if (!VolumeSizeTextCtrl->IsEmpty() && Validate())
|
||||
if (!VolumeSizeTextCtrl->GetValue().empty() && Validate())
|
||||
{
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user