Debug output.

This commit is contained in:
Teo Mrnjavac 2015-12-31 16:35:01 +01:00
parent 6dd639fd3c
commit 22459c8fb8

View File

@ -451,7 +451,9 @@ ChoicePage::applyActionChoice( ChoicePage::Choice choice )
[]{},
this );
}
cDebug() << "next enabled:" << isNextEnabled();
setNextEnabled( !m_beforePartitionBarsView->selectionModel()->selectedRows().isEmpty() );
cDebug() << "next enabled:" << isNextEnabled();
connect( m_beforePartitionBarsView->selectionModel(), SIGNAL( currentRowChanged( QModelIndex, QModelIndex ) ),
this, SLOT( doReplaceSelectedPartition( QModelIndex, QModelIndex ) ),
@ -490,7 +492,7 @@ ChoicePage::doReplaceSelectedPartition( const QModelIndex& current,
selectedDevice(),
partition );
} ),
[]
[=]
{
setNextEnabled( !m_beforePartitionBarsView->selectionModel()->selectedRows().isEmpty() );
}, this );