Debug output.

main
Teo Mrnjavac 9 years ago
parent 6dd639fd3c
commit 22459c8fb8

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

Loading…
Cancel
Save