From 1cc1db5d1511444d775b618fd624c9c352e4fda7 Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Sun, 2 Mar 2008 12:55:57 -0500 Subject: Default to RAID1 instead of RAID0 (#435579) --- iw/raid_dialog_gui.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'iw') diff --git a/iw/raid_dialog_gui.py b/iw/raid_dialog_gui.py index b5465c5fc..1499d2298 100644 --- a/iw/raid_dialog_gui.py +++ b/iw/raid_dialog_gui.py @@ -76,6 +76,8 @@ class RaidEditor: def createRaidLevelMenu(self, levels, reqlevel): levelcombo = gtk.combo_box_new_text() defindex = 0 + if "RAID1" in levels: + defindex = levels.index("RAID1") i = 0 for lev in levels: levelcombo.append_text(lev) -- cgit