From eb3910679ca0b57bac9716421834709c011218b1 Mon Sep 17 00:00:00 2001 From: Chantara Tith Date: Sun, 14 Aug 2016 22:23:17 +0700 Subject: [PATCH] Add all LVM devices to the bottom of the devices list. --- src/core/devicescanner.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/devicescanner.cpp b/src/core/devicescanner.cpp index 47d6b39..7b7da43 100644 --- a/src/core/devicescanner.cpp +++ b/src/core/devicescanner.cpp @@ -68,9 +68,10 @@ void DeviceScanner::scan() for (const auto &d : deviceList) operationStack().addDevice(d); + operationStack().sortDevices(); + for (const auto &d : lvmList) operationStack().addDevice(d); - operationStack().sortDevices(); }