From cb71334865e4d08e370fb46ed40acc77fffe0c40 Mon Sep 17 00:00:00 2001 From: Nicolas Mailloux Date: Tue, 16 Nov 2021 07:47:49 -0500 Subject: [PATCH] repack improvements --- encryptionmanager.cpp | 1 + generaldialog.cpp | 3 +++ 2 files changed, 4 insertions(+) diff --git a/encryptionmanager.cpp b/encryptionmanager.cpp index 3bc6cf9..d58e6ed 100644 --- a/encryptionmanager.cpp +++ b/encryptionmanager.cpp @@ -351,6 +351,7 @@ void encryptionManager::repackEncryptedStorage() { std::string passphrase = global::encfs::passphrase.toStdString(); global::encfs::passphrase = ""; string_writeconfig("/external_root/run/encfs/encrypted_storage_repack_passphrase", passphrase); + string_writeconfig("/external_root/run/encfs_dry_stop", "true"); string_writeconfig("/opt/ibxd", "encfs_restart\n"); bool exitStatus; ui->activityWidget->setCurrentIndex(3); diff --git a/generaldialog.cpp b/generaldialog.cpp index 621c8ee..3e6074c 100644 --- a/generaldialog.cpp +++ b/generaldialog.cpp @@ -209,6 +209,9 @@ void generalDialog::on_cancelBtn_clicked() global::encfs::cancelSetup = true; global::keyboard::keyboardText = ""; } + else if(global::encfs::errorNoBooksInDropboxDialog == true) { + global::encfs::errorNoBooksInDropboxDialog = false; + } generalDialog::close(); } }