mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 17:35:37 -04:00
Try to invalidate whole PartitionModel on replace.
This commit is contained in:
parent
2a61114d9e
commit
9847b8efa9
3 changed files with 12 additions and 0 deletions
|
@ -239,3 +239,10 @@ PartitionModel::partitionForIndex( const QModelIndex& index ) const
|
|||
return nullptr;
|
||||
return reinterpret_cast< Partition* >( index.internalPointer() );
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
PartitionModel::update()
|
||||
{
|
||||
emit dataChanged( index( 0, 0 ), index( rowCount() - 1, columnCount() - 1 ) );
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue