summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
Diffstat (limited to 'iw')
-rw-r--r--iw/raid_dialog_gui.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/iw/raid_dialog_gui.py b/iw/raid_dialog_gui.py
index 2fafccd87..652a05001 100644
--- a/iw/raid_dialog_gui.py
+++ b/iw/raid_dialog_gui.py
@@ -160,6 +160,11 @@ class RaidEditor:
raidmembers.append(dev)
iter = model.iter_next(iter)
+
+ # The user has to select some devices to be part of the array.
+ if not raidmembers:
+ continue
+
mountpoint = self.mountCombo.get_children()[0].get_text()
if not self.origrequest.exists: