diff options
author | Chris Lumens <clumens@redhat.com> | 2006-07-20 18:58:32 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2006-07-20 18:58:32 +0000 |
commit | c3d9ffabe425e153a8e14cfaf4496ca3ab83e102 (patch) | |
tree | f25c591fa6edf3fb96b829a3112401cb8acf103d /textw | |
parent | 1a80f52401c73efe82aab910f5e0cf8b1735e642 (diff) | |
download | anaconda-c3d9ffabe425e153a8e14cfaf4496ca3ab83e102.tar.gz anaconda-c3d9ffabe425e153a8e14cfaf4496ca3ab83e102.tar.xz anaconda-c3d9ffabe425e153a8e14cfaf4496ca3ab83e102.zip |
Fix text package selection/deselection (#186043).
Diffstat (limited to 'textw')
-rw-r--r-- | textw/grpselect_text.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/textw/grpselect_text.py b/textw/grpselect_text.py index b06c790fb..913a754e0 100644 --- a/textw/grpselect_text.py +++ b/textw/grpselect_text.py @@ -143,10 +143,10 @@ class GroupSelectionWindow: # reflect new packages selected selected = gct.getSelection() for (opkg, osel) in orig.items(): - if pkg in selected and not osel: - self.__selectPackage(grp, pkg) - elif pkg not in selected and osel: - self.__deselectPackage(grp, pkg) + if opkg in selected and not osel: + self.__selectPackage(grp, opkg) + elif opkg not in selected and osel: + self.__deselectPackage(grp, opkg) rc = bb.buttonPressed(result) screen.popWindow() |