diff --git a/src/gui/resizevolumedialog.cpp b/src/gui/resizevolumedialog.cpp index eb8e561..baa83dd 100644 --- a/src/gui/resizevolumedialog.cpp +++ b/src/gui/resizevolumedialog.cpp @@ -58,7 +58,7 @@ void ResizeVolumeDialog::setupDialog() { dialogWidget().partTableWidget().setVisible(false); if (dialogWidget().volumeType().currentText() == QStringLiteral("LVM")) { - dialogWidget().listPV().addPartitionList(LvmDevice::getPVs(targetName()), true); + dialogWidget().listPV().addPartitionList(device().deviceNodeList(), true); dialogWidget().listPV().addPartitionList(FS::lvm2_pv::getFreePV(), false); } }