mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-29 10:25:36 -04:00
Also uncheck if hidden.
This commit is contained in:
parent
f71ce22f3b
commit
53c27208f1
1 changed files with 8 additions and 0 deletions
|
@ -698,6 +698,8 @@ ChoicePage::setupActions()
|
|||
|
||||
m_replaceButton->hide();
|
||||
m_alongsideButton->hide();
|
||||
m_replaceButton->buttonWidget()->setChecked( false );
|
||||
m_alongsideButton->buttonWidget()->setChecked( false );
|
||||
}
|
||||
else if ( osproberEntriesForCurrentDevice.count() == 1 )
|
||||
{
|
||||
|
@ -757,7 +759,10 @@ ChoicePage::setupActions()
|
|||
if ( osproberEntriesForCurrentDevice.first().canBeResized )
|
||||
m_alongsideButton->show();
|
||||
else
|
||||
{
|
||||
m_alongsideButton->hide();
|
||||
m_alongsideButton->buttonWidget()->setChecked( false );
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -800,7 +805,10 @@ ChoicePage::setupActions()
|
|||
if ( atLeastOneCanBeResized )
|
||||
m_alongsideButton->show();
|
||||
else
|
||||
{
|
||||
m_alongsideButton->hide();
|
||||
m_alongsideButton->buttonWidget()->setChecked( false );
|
||||
}
|
||||
}
|
||||
|
||||
bool isEfi = QDir( "/sys/firmware/efi/efivars" ).exists();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue