mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-25 03:15:44 -05:00
Make sure to show all the relevant partitioning actions.
This commit is contained in:
parent
e6b5dd976a
commit
f71ce22f3b
1 changed files with 11 additions and 2 deletions
|
@ -751,7 +751,12 @@ ChoicePage::setupActions()
|
|||
string( Calamares::Branding::ShortVersionedName ) ) );
|
||||
)
|
||||
}
|
||||
if ( !osproberEntriesForCurrentDevice.first().canBeResized )
|
||||
|
||||
m_replaceButton->show();
|
||||
|
||||
if ( osproberEntriesForCurrentDevice.first().canBeResized )
|
||||
m_alongsideButton->show();
|
||||
else
|
||||
m_alongsideButton->hide();
|
||||
}
|
||||
else
|
||||
|
@ -790,7 +795,11 @@ ChoicePage::setupActions()
|
|||
string( Calamares::Branding::ShortVersionedName ) ) );
|
||||
)
|
||||
|
||||
if ( !atLeastOneCanBeResized )
|
||||
m_replaceButton->show();
|
||||
|
||||
if ( atLeastOneCanBeResized )
|
||||
m_alongsideButton->show();
|
||||
else
|
||||
m_alongsideButton->hide();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue