Browse Source

Fix setting partition path when restoring partitions.

BUG: 399791
4.0
Andrius Štikonas 1 year ago
parent
commit
4b6a26f0f8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/ops/restoreoperation.cpp

+ 1
- 1
src/ops/restoreoperation.cpp View File

@@ -125,7 +125,7 @@ bool RestoreOperation::execute(Report& parent)
Report* report = parent.newChild(description());

if (overwrittenPartition())
restorePartition().setPartitionPath(overwrittenPartition()->devicePath());
restorePartition().setPartitionPath(overwrittenPartition()->partitionPath());

if (overwrittenPartition() || (rval = createPartitionJob()->run(*report))) {
restorePartition().setState(Partition::State::None);


Loading…
Cancel
Save