David Cantrell wrote:
The format checkbox enables the combo box listing filesystems.
Likewise, the migrate checkbox enables the combo box listing filesystems
you can migrate to. The two choices are mutually exclusive. We only
want one combo box active at a time. Without this patch, box combo
boxes would become active if either checkbox was checked.
---
iw/partition_ui_helpers_gui.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Looks good.
diff --git a/iw/partition_ui_helpers_gui.py b/iw/partition_ui_helpers_gui.py
index 9d7f7c5..ede0200 100644
--- a/iw/partition_ui_helpers_gui.py
+++ b/iw/partition_ui_helpers_gui.py
@@ -256,8 +256,8 @@ def formatMigrateOptionCB(widget, data):
othercb.set_sensitive(not widget.get_active())
othercb.set_active(False)
- if othercombo is not None:
- othercombo.set_sensitive(not widget.get_active())
+ if othercombo is not None:
+ othercombo.set_sensitive(othercb.get_active())
if lukscb is not None:
lukscb.set_data("formatstate", widget.get_active())
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list