Force show the passphrase widgets.

This commit is contained in:
Teo Mrnjavac 2016-04-21 19:25:53 +02:00
parent 1e300afbac
commit 9a8dc0127d
1 changed files with 5 additions and 0 deletions

View File

@ -224,6 +224,11 @@ void NewDialog::updateHideAndShow()
}
if (FS::luks::canEncryptType(FileSystem::typeForName(dialogWidget().comboFileSystem().currentText())))
dialogWidget().checkBoxEncrypt().show();
if (dialogWidget().checkBoxEncrypt().isChecked())
{
dialogWidget().labelPassphrase().show();
dialogWidget().editPassphrase().show();
}
else
{
dialogWidget().checkBoxEncrypt().hide();