Skip to content

Commit

Permalink
disable decryption time sliding bar when advanced settings active
Browse files Browse the repository at this point in the history
  • Loading branch information
xvallspl committed May 18, 2021
1 parent 78397d5 commit fa11c78
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/dbsettings/DatabaseSettingsWidgetEncryption.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit fa11c78

Please sign in to comment.