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
|
void
|
||||||
PartitionCoreModule::deletePartition( Device* device, Partition* partition )
|
PartitionCoreModule::deletePartition( Device* device, Partition* partition )
|
||||||
{
|
{
|
||||||
|
m_infoForPartitionHash.remove( partition );
|
||||||
|
|
||||||
if ( partition->state() == Partition::StateNew )
|
if ( partition->state() == Partition::StateNew )
|
||||||
{
|
{
|
||||||
// Find matching CreatePartitionJob
|
// Find matching CreatePartitionJob
|
||||||
|
Loading…
Reference in New Issue
Block a user