mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-28 09:55:37 -04:00
Fix next status handling in alongside and replace.
This commit is contained in:
parent
e84108e234
commit
4113207e00
1 changed files with 4 additions and 5 deletions
|
@ -411,6 +411,7 @@ ChoicePage::applyActionChoice( ChoicePage::Choice choice )
|
||||||
// We need to reupdate after reverting because the splitter widget is
|
// We need to reupdate after reverting because the splitter widget is
|
||||||
// not a true view.
|
// not a true view.
|
||||||
updateActionChoicePreview( currentChoice() );
|
updateActionChoicePreview( currentChoice() );
|
||||||
|
updateNextEnabled();
|
||||||
},
|
},
|
||||||
this );
|
this );
|
||||||
}
|
}
|
||||||
|
@ -1248,13 +1249,11 @@ ChoicePage::updateNextEnabled()
|
||||||
enabled = false;
|
enabled = false;
|
||||||
break;
|
break;
|
||||||
case Replace:
|
case Replace:
|
||||||
enabled = !m_beforePartitionBarsView->selectionModel()->
|
enabled = m_beforePartitionBarsView->selectionModel()->
|
||||||
selectedRows().isEmpty();
|
currentIndex().isValid();
|
||||||
break;
|
break;
|
||||||
case Alongside:
|
case Alongside:
|
||||||
enabled = !m_beforePartitionBarsView->selectionModel()->
|
enabled = m_beforePartitionBarsView->selectionModel()->
|
||||||
selectedRows().isEmpty() &&
|
|
||||||
m_beforePartitionBarsView->selectionModel()->
|
|
||||||
currentIndex().isValid();
|
currentIndex().isValid();
|
||||||
break;
|
break;
|
||||||
case Erase:
|
case Erase:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue