if md5 check is not selected for subpartitions, don't check it.

Change-Id: I7248c75f17c6f82e098831c297c0662ef6ea289f
diff --git a/partitionmanager.cpp b/partitionmanager.cpp
index f094734..3e5d696 100644
--- a/partitionmanager.cpp
+++ b/partitionmanager.cpp
@@ -871,7 +871,7 @@
 
 					for (subpart = Partitions.begin(); subpart != Partitions.end(); subpart++) {
 						if ((*subpart)->Is_SubPartition && (*subpart)->SubPartition_Of == restore_part->Mount_Point) {
-							if (!(*subpart)->Check_MD5(Restore_Name))
+							if (check_md5 > 0 && !(*subpart)->Check_MD5(Restore_Name))
 								return false;
 						}
 					}