Check for root mount point before going ahead.
This commit is contained in:
parent
aeb20761cc
commit
c6eb0721d9
@ -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…
Reference in New Issue
Block a user