Hide encryption widget if not Erase.
This commit is contained in:
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…
Reference in New Issue
Block a user