mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 10:55:46 -05:00
And selectionModel() better exist...
This commit is contained in:
parent
584ca6da18
commit
2f35aa1258
1 changed files with 1 additions and 0 deletions
|
@ -156,6 +156,7 @@ PartitionBarsView::drawSection( QPainter* painter, const QRect& rect_, int x, in
|
|||
painter->drawRoundedRect( rect, radius, radius );
|
||||
|
||||
if ( index.isValid() &&
|
||||
selectionModel() &&
|
||||
!selectionModel()->selectedIndexes().isEmpty() &&
|
||||
selectionModel()->selectedIndexes().first() == index )
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue