mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-26 00:48:22 -04:00
Refactor leave event of ChoicePage, add ESP mount point support.
PVS now calls ChoicePage::onLeave, which in turn runs ChoicePage:: doAlongsideApply and/or sets up the ESP mount point based on the UI state if it's running in EFI mode and the action is Alongside or Replace. If setting up under BIOS, Alongside and Replace always install the bootloader in the MBR of the current device.
This commit is contained in:
parent
7ec039f860
commit
7a89b53538
3 changed files with 98 additions and 26 deletions
|
@ -363,9 +363,8 @@ PartitionViewStep::onActivate()
|
|||
void
|
||||
PartitionViewStep::onLeave()
|
||||
{
|
||||
if ( m_widget->currentWidget() == m_choicePage &&
|
||||
m_choicePage->currentChoice() == ChoicePage::Alongside )
|
||||
m_choicePage->doAlongsideApply();
|
||||
if ( m_widget->currentWidget() == m_choicePage )
|
||||
m_choicePage->onLeave();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue