Remove PartitionInfo if we remove a Partition
This commit is contained in:
parent
3ed5704818
commit
467d89f56f
@ -94,6 +94,8 @@ PartitionCoreModule::createPartition( Device* device, PartitionInfo* partitionIn
|
||||
void
|
||||
PartitionCoreModule::deletePartition( Device* device, Partition* partition )
|
||||
{
|
||||
m_infoForPartitionHash.remove( partition );
|
||||
|
||||
if ( partition->state() == Partition::StateNew )
|
||||
{
|
||||
// Find matching CreatePartitionJob
|
||||
|
Loading…
Reference in New Issue
Block a user