summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--partitionmanager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/partitionmanager.cpp b/partitionmanager.cpp
index e244aac79..521079963 100644
--- a/partitionmanager.cpp
+++ b/partitionmanager.cpp
@@ -1039,7 +1039,8 @@ void TWPartitionManager::Set_Restore_Files(string Restore_Name) {
Part->Backup_FileName.resize(Part->Backup_FileName.size() - strlen(extn) + 3);
}
- Restore_List += Part->Backup_Path + ";";
+ if (!Part->Is_SubPartition)
+ Restore_List += Part->Backup_Path + ";";
}
closedir(d);