mirror of
https://github.com/parchlinux/calamares.git
synced 2025-07-01 19:35:36 -04:00
Repaint viewport on selection changed.
This issue wasn't noticeable earlier because every selection change implied additional operations (in Replace) which used to trigger a repaint at the right time for free. With this we make sure we get a repaint.
This commit is contained in:
parent
f2add6f2c2
commit
1a48524a9a
1 changed files with 1 additions and 0 deletions
|
@ -419,6 +419,7 @@ PartitionBarsView::setSelection( const QRect& rect, QItemSelectionModel::Selecti
|
|||
int x1, y1, x2, y2;
|
||||
rect.getCoords( &x1, &y1, &x2, &y2 );
|
||||
selectionModel()->select( indexAt( QPoint( x2, y2 ) ), flags );
|
||||
viewport()->repaint();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue