mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 17:35:37 -04: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 ) ) );
|
string( Calamares::Branding::ShortVersionedName ) ) );
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
if ( !osproberEntriesForCurrentDevice.first().canBeResized )
|
|
||||||
|
m_replaceButton->show();
|
||||||
|
|
||||||
|
if ( osproberEntriesForCurrentDevice.first().canBeResized )
|
||||||
|
m_alongsideButton->show();
|
||||||
|
else
|
||||||
m_alongsideButton->hide();
|
m_alongsideButton->hide();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -790,7 +795,11 @@ ChoicePage::setupActions()
|
||||||
string( Calamares::Branding::ShortVersionedName ) ) );
|
string( Calamares::Branding::ShortVersionedName ) ) );
|
||||||
)
|
)
|
||||||
|
|
||||||
if ( !atLeastOneCanBeResized )
|
m_replaceButton->show();
|
||||||
|
|
||||||
|
if ( atLeastOneCanBeResized )
|
||||||
|
m_alongsideButton->show();
|
||||||
|
else
|
||||||
m_alongsideButton->hide();
|
m_alongsideButton->hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue