mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-30 02:45:37 -04:00
Enable/disable Next button based on whether we have a root mount point
This commit is contained in:
parent
52028d95f9
commit
36b3de7107
3 changed files with 29 additions and 2 deletions
|
@ -27,6 +27,8 @@ PartitionViewStep::PartitionViewStep( QObject* parent )
|
|||
, m_core( new PartitionCoreModule( this ) )
|
||||
, m_widget( new PartitionPage( m_core ) )
|
||||
{
|
||||
connect( m_core, SIGNAL( hasRootMountPointChanged( bool ) ),
|
||||
SIGNAL( nextStatusChanged( bool ) ) );
|
||||
}
|
||||
|
||||
|
||||
|
@ -60,7 +62,7 @@ PartitionViewStep::back()
|
|||
bool
|
||||
PartitionViewStep::isNextEnabled() const
|
||||
{
|
||||
return false;
|
||||
return m_core->hasRootMountPoint();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue