Hide encryption widget if not Erase.

main
Teo Mrnjavac 9 years ago
parent 60dcba8735
commit a4ab8dad46

@ -850,6 +850,7 @@ ChoicePage::updateActionChoicePreview( ChoicePage::Choice choice )
m_selectLabel->hide();
else
{
m_encryptWidget->hide();
SelectionFilter filter = [ this ]( const QModelIndex& index )
{
return PartUtils::canBeReplaced( (Partition*)( index.data( PartitionModel::PartitionPtrRole ).value< void* >() ) );

Loading…
Cancel
Save