Don't skip extended partition.

This commit is contained in:
Teo Mrnjavac 2015-12-11 18:45:40 +01:00
parent f64d210496
commit 7fce08459b

View File

@ -128,10 +128,9 @@ PartitionLabelsView::getIndexesToDraw( const QModelIndex& parent ) const
for ( int row = 0; row < modl->rowCount( parent ); ++row )
{
QModelIndex index = modl->index( row, 0, parent );
list.append( index );
if ( modl->hasChildren( index ) )
list.append( getIndexesToDraw( index ) );
else
list.append( index );
}
return list;
}