summaryrefslogtreecommitdiffstats
path: root/textw
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2005-04-17 01:30:47 +0000
committerJeremy Katz <katzj@redhat.com>2005-04-17 01:30:47 +0000
commitd8ede9adb056a41f5f14065856995dab9493c684 (patch)
tree68e58899b830846094b3384873a6dc49966bef72 /textw
parentf1e4918916112da7568980c95478412064f74c1d (diff)
downloadanaconda-d8ede9adb056a41f5f14065856995dab9493c684.tar.gz
anaconda-d8ede9adb056a41f5f14065856995dab9493c684.tar.xz
anaconda-d8ede9adb056a41f5f14065856995dab9493c684.zip
2005-04-16 Jeremy Katz <katzj@redhat.com>
* textw/partition_text.py (AutoPartitionWindow.__call__): Check for a drive being selected (#124296) * partIntfHelpers.py (mustHaveSelectedDrive): Add UI helper for selected drives error. * iw/partition_gui.py (AutoPartitionWindow.getNext): Use helper.
Diffstat (limited to 'textw')
-rw-r--r--textw/partition_text.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/textw/partition_text.py b/textw/partition_text.py
index cc4afaba7..2282815f2 100644
--- a/textw/partition_text.py
+++ b/textw/partition_text.py
@@ -1576,6 +1576,10 @@ class AutoPartitionWindow:
return INSTALL_BACK
+ if len(self.drivelist.getSelection()) < 1:
+ mustHaveSelectedDrive(intf)
+ continue
+
partitions.autoClearPartType = typebox.current()
partitions.autoClearPartDrives = self.drivelist.getSelection()