diff options
Diffstat (limited to 'textw/task_text.py')
-rw-r--r-- | textw/task_text.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/textw/task_text.py b/textw/task_text.py index 470053df6..9a2c34f53 100644 --- a/textw/task_text.py +++ b/textw/task_text.py @@ -30,7 +30,7 @@ class TaskWindow: rc = False for gid in lst: g = self.backend.ayum.comps.return_group(gid) - if g and not g.selected: + if g and not g.default: return False elif g: rc = True @@ -89,9 +89,11 @@ class TaskWindow: sel = ct.getSelection() for (txt, grps) in tasks: if txt in sel: - map(self.backend.selectGroup, grps) + map(lambda g: setattr(self.backend.ayum.comps.return_group(g), + "default", True), grps) else: - map(self.backend.deselectGroup, grps) + map(lambda g: setattr(self.backend.ayum.comps.return_group(g), + "default", False), grps) screen.popWindow() return INSTALL_OK |