Don't skip extended partition.

main
Teo Mrnjavac 9 years ago
parent f64d210496
commit 7fce08459b

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

Loading…
Cancel
Save