mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-26 08:58:22 -04:00
Check for root mount point before going ahead.
This commit is contained in:
parent
aeb20761cc
commit
c6eb0721d9
1 changed files with 8 additions and 2 deletions
|
@ -187,9 +187,15 @@ PartitionViewStep::isNextEnabled() const
|
|||
return m_choicePage->isNextEnabled();
|
||||
|
||||
if ( m_erasePage && m_erasePage == m_widget->currentWidget() )
|
||||
return m_erasePage->isNextEnabled(); //FIXME: also check for mount point
|
||||
{
|
||||
return m_erasePage->isNextEnabled() &&
|
||||
m_core->hasRootMountPoint();
|
||||
}
|
||||
|
||||
return m_core->hasRootMountPoint();
|
||||
if ( m_manualPartitionPage && m_manualPartitionPage == m_widget->currentWidget() )
|
||||
return m_core->hasRootMountPoint();
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue