diff --git a/src/modules/partition/core/PartitionCoreModule.cpp b/src/modules/partition/core/PartitionCoreModule.cpp index fd7801a47..3dd4fa2ef 100644 --- a/src/modules/partition/core/PartitionCoreModule.cpp +++ b/src/modules/partition/core/PartitionCoreModule.cpp @@ -20,6 +20,7 @@ #include "core/PartitionCoreModule.h" #include "core/BootLoaderModel.h" +#include "core/ColorUtils.h" #include "core/DeviceModel.h" #include "core/PartitionInfo.h" #include "core/PartitionIterator.h" @@ -258,6 +259,11 @@ PartitionCoreModule::deletePartition( Device* device, Partition* partition ) deletePartition( device, partition ); } + if ( partition->roles().has( PartitionRole::Logical ) ) + { + ColorUtils::invalidateCache(); + } + QList< Calamares::job_ptr >& jobs = deviceInfo->jobs; if ( partition->state() == Partition::StateNew ) {