Fix overwriting partitions.

BUG: 362956
This commit is contained in:
Andrius Štikonas 2016-05-19 12:11:58 +01:00
parent da550fb534
commit 96eaf6abae
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ bool CopyOperation::execute(Report& parent)
// if we have overwritten a partition, reset device path and number
if (overwrittenPartition()) {
copiedPartition().setDevicePath(overwrittenPartition()->devicePath());
copiedPartition().setPartitionPath(overwrittenPartition()->devicePath());
copiedPartition().setPartitionPath(overwrittenPartition()->partitionPath());
}
// now run the copy job itself