summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2009-04-15 16:45:05 +0200
committerHans de Goede <hdegoede@redhat.com>2009-04-15 17:32:50 +0200
commitd9e6dbc8e416fefcabfac4bdb508c3197f937bf2 (patch)
tree61a9b2a5b21bc8a3f1174a1f0ec96c8b98a568aa /iw
parented1426e57fcb270483ab4a2d7852a11a65de5109 (diff)
downloadanaconda-d9e6dbc8e416fefcabfac4bdb508c3197f937bf2.tar.gz
anaconda-d9e6dbc8e416fefcabfac4bdb508c3197f937bf2.tar.xz
anaconda-d9e6dbc8e416fefcabfac4bdb508c3197f937bf2.zip
Fix changing size of newly created partitions
Currently if you create a new partition from the UI and then later decide to change the size using edit partition, the size does not get changed. This patch fixes this.
Diffstat (limited to 'iw')
-rw-r--r--iw/partition_dialog_gui.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/iw/partition_dialog_gui.py b/iw/partition_dialog_gui.py
index 2842a1209..03e9a592a 100644
--- a/iw/partition_dialog_gui.py
+++ b/iw/partition_dialog_gui.py
@@ -201,6 +201,7 @@ class PartitionEditor:
actions.append(ActionCreateDevice(request))
else:
request.req_size = size
+ request.req_base_size = size
request.req_grow = grow
request.req_max_size = maxsize
request.req_primary = primary