VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/Main/GraphicUserInterface.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Main/GraphicUserInterface.cpp b/src/Main/GraphicUserInterface.cpp
index aad79d78..2a3b2cdf 100755
--- a/src/Main/GraphicUserInterface.cpp
+++ b/src/Main/GraphicUserInterface.cpp
@@ -219,7 +219,7 @@ namespace VeraCrypt
wxSingleChoiceDialog choiceDialog (parent, LangString["DOES_VOLUME_CONTAIN_HIDDEN"], Application::GetName(), choices);
choiceDialog.SetSize (wxSize (Gui->GetCharWidth (&choiceDialog) * 60, -1));
- choiceDialog.SetSelection (-1);
+ choiceDialog.SetSelection (0);
if (choiceDialog.ShowModal() != wxID_OK)
return;
@@ -1324,7 +1324,7 @@ namespace VeraCrypt
wxSingleChoiceDialog choiceDialog (parent, LangString["HEADER_RESTORE_EXTERNAL_INTERNAL"], Application::GetName(), choices);
choiceDialog.SetSize (wxSize (Gui->GetCharWidth (&choiceDialog) * 80, -1));
- choiceDialog.SetSelection (-1);
+ choiceDialog.SetSelection (0);
if (choiceDialog.ShowModal() != wxID_OK)
return;