From f71ce22f3b532f0bccc70572338f7cce10267d16 Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Fri, 8 Jan 2016 14:45:39 +0100 Subject: [PATCH] Make sure to show all the relevant partitioning actions. --- src/modules/partition/gui/ChoicePage.cpp | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/modules/partition/gui/ChoicePage.cpp b/src/modules/partition/gui/ChoicePage.cpp index 279d2dcc0..78aebbd2b 100644 --- a/src/modules/partition/gui/ChoicePage.cpp +++ b/src/modules/partition/gui/ChoicePage.cpp @@ -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(); }