VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Main/Forms/ChangePasswordDialog.cpp
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2015-01-04 23:51:43 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2015-01-04 23:53:35 +0100
commit6a254778e2bcfe7df0b40bf8a0db37159a706315 (patch)
tree95dd89deaf84c8b0c8fd6d9ae651bbe4afc3c7cd /src/Main/Forms/ChangePasswordDialog.cpp
parent41607d126a0a045222a5fc2fac5c9e77b40099f7 (diff)
downloadVeraCrypt-6a254778e2bcfe7df0b40bf8a0db37159a706315.tar.gz
VeraCrypt-6a254778e2bcfe7df0b40bf8a0db37159a706315.zip
Linux/MacOSX: Add wait dialog to the benchmark computation. Correct handling of wait dialog call when changing password and creating volumes.
Diffstat (limited to 'src/Main/Forms/ChangePasswordDialog.cpp')
-rw-r--r--src/Main/Forms/ChangePasswordDialog.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Main/Forms/ChangePasswordDialog.cpp b/src/Main/Forms/ChangePasswordDialog.cpp
index 1bde4bee..1889e5cb 100644
--- a/src/Main/Forms/ChangePasswordDialog.cpp
+++ b/src/Main/Forms/ChangePasswordDialog.cpp
@@ -136,8 +136,7 @@ namespace VeraCrypt
ChangePasswordThreadRoutine routine(Path, Gui->GetPreferences().DefaultMountOptions.PreserveTimestamps,
CurrentPasswordPanel->GetPassword(), CurrentPasswordPanel->GetPkcs5Kdf(), CurrentPasswordPanel->GetTrueCryptMode(),CurrentPasswordPanel->GetKeyfiles(),
newPassword, newKeyfiles, NewPasswordPanel->GetPkcs5Kdf(), NewPasswordPanel->GetHeaderWipeCount());
- WaitDialog dlg(this, LangString["IDT_STATIC_MODAL_WAIT_DLG_INFO"], &routine);
- dlg.Run();
+ Gui->ExecuteWaitThreadRoutine (this, &routine);
}
switch (DialogMode)