Revert "Remove LVM LV formatted as LVM PV partition from the PV list when resizing LVM VG if it belongs to the same VG."

This reverts commit 6e6f41b209.
This commit is contained in:
Andrius Štikonas 2016-12-06 03:18:29 +00:00
parent 6e6f41b209
commit d2b3f7344a
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ void ResizeVolumeGroupDialog::setupDialog()
continue;
if (p.vgName() == device()->name())
dialogWidget().listPV().addPartition(*p.partition(), true);
else if (p.vgName() == QString() && !LvmDevice::s_DirtyPVs.contains(p.partition()) && targetName() != device()->name())
else if (p.vgName() == QString() && !LvmDevice::s_DirtyPVs.contains(p.partition())) // TODO: Remove LVM PVs in current VG
dialogWidget().listPV().addPartition(*p.partition(), false);
}
}