[rhel7-branch 1/1] Fix a line that still treated the fstype as a GtkComboBoxText
dashea
installerbot-noreply at redhat.com
Mon Aug 3 18:42:19 UTC 2015
From: David Shea <dshea at redhat.com>
Missed a conversion from ComboBoxText to ComboBox + ListStore on the
rhel7 side.
Resolves: rhbz#1248885
---
pyanaconda/ui/gui/spokes/custom.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
index 2382190..11ab9b0 100644
--- a/pyanaconda/ui/gui/spokes/custom.py
+++ b/pyanaconda/ui/gui/spokes/custom.py
@@ -2429,7 +2429,7 @@ def _resolve_btrfs_restrictions(self, should_be_btrfs):
active_index = self._fsCombo.get_active()
current_fstype = self._get_fstype(self._fsCombo)
if btrfs_pos and not should_be_btrfs:
- self._fsCombo.remove(btrfs_pos)
+ model.remove(btrfs_pos)
if current_fstype == "btrfs":
for i, row in enumerate(model):
if row[0] == self.storage.defaultFSType:
--
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/26a755760bf8e40645f40381886cb6ea5c28a460
More information about the anaconda-patches
mailing list