mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 09:25:36 -04:00
Hide encryption widget if not Erase.
This commit is contained in:
parent
60dcba8735
commit
a4ab8dad46
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue