From d9e6dbc8e416fefcabfac4bdb508c3197f937bf2 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Wed, 15 Apr 2009 16:45:05 +0200 Subject: 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. --- iw/partition_dialog_gui.py | 1 + 1 file changed, 1 insertion(+) (limited to 'iw') 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 -- cgit