Skip to content
Snippets Groups Projects
Commit c6eb0721 authored by Teo Mrnjavac's avatar Teo Mrnjavac
Browse files

Check for root mount point before going ahead.

parent aeb20761
No related branches found
No related tags found
No related merge requests found
......@@ -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();
}
if ( m_manualPartitionPage && m_manualPartitionPage == m_widget->currentWidget() )
return m_core->hasRootMountPoint();
return m_core->hasRootMountPoint();
return false;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment