From 0c930e3f4a6a84ec1ee51ba76a084d0a0b60f80e Mon Sep 17 00:00:00 2001 From: Xavier Valls Date: Tue, 18 May 2021 08:22:47 +0200 Subject: [PATCH] disable decryption time sliding bar when advanced settings active --- src/gui/dbsettings/DatabaseSettingsWidgetEncryption.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/dbsettings/DatabaseSettingsWidgetEncryption.cpp b/src/gui/dbsettings/DatabaseSettingsWidgetEncryption.cpp index 9574ee1529..9367625b02 100644 --- a/src/gui/dbsettings/DatabaseSettingsWidgetEncryption.cpp +++ b/src/gui/dbsettings/DatabaseSettingsWidgetEncryption.cpp @@ -381,6 +381,7 @@ void DatabaseSettingsWidgetEncryption::setAdvancedMode(bool advanced) } m_ui->advancedSettings->setVisible(advanced); + m_ui->decryptionTimeSlider->setEnabled(!advanced); config()->set(Config::GUI_AdvancedSettings, advanced); }