Refresh model on forgetChanges.
This commit is contained in:
parent
15e409a107
commit
ad2ce6b6d4
@ -75,6 +75,7 @@ PartitionCoreModule::DeviceInfo::forgetChanges()
|
|||||||
jobs.clear();
|
jobs.clear();
|
||||||
for ( auto it = PartitionIterator::begin( device.data() ); it != PartitionIterator::end( device.data() ); ++it )
|
for ( auto it = PartitionIterator::begin( device.data() ); it != PartitionIterator::end( device.data() ); ++it )
|
||||||
PartitionInfo::reset( *it );
|
PartitionInfo::reset( *it );
|
||||||
|
partitionModel->revert();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user