diff options
Diffstat (limited to 'bitbake/lib')
-rwxr-xr-x | bitbake/lib/bb/ui/crumbs/packageselectionpage.py | 2 | ||||
-rwxr-xr-x | bitbake/lib/bb/ui/crumbs/recipeselectionpage.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/packageselectionpage.py b/bitbake/lib/bb/ui/crumbs/packageselectionpage.py index 781d579d6c..2264116d77 100755 --- a/bitbake/lib/bb/ui/crumbs/packageselectionpage.py +++ b/bitbake/lib/bb/ui/crumbs/packageselectionpage.py | |||
@@ -203,7 +203,7 @@ class PackageSelectionPage (HobPage): | |||
203 | def button_click_cb(self, widget, event): | 203 | def button_click_cb(self, widget, event): |
204 | path, col = widget.table_tree.get_cursor() | 204 | path, col = widget.table_tree.get_cursor() |
205 | tree_model = widget.table_tree.get_model() | 205 | tree_model = widget.table_tree.get_model() |
206 | if path: # else activation is likely a removal | 206 | if path and col.get_title() != 'Included': # else activation is likely a removal |
207 | properties = {'binb': '' , 'name': '', 'size':'', 'recipe':'', 'files_list':''} | 207 | properties = {'binb': '' , 'name': '', 'size':'', 'recipe':'', 'files_list':''} |
208 | properties['binb'] = tree_model.get_value(tree_model.get_iter(path), PackageListModel.COL_BINB) | 208 | properties['binb'] = tree_model.get_value(tree_model.get_iter(path), PackageListModel.COL_BINB) |
209 | properties['name'] = tree_model.get_value(tree_model.get_iter(path), PackageListModel.COL_NAME) | 209 | properties['name'] = tree_model.get_value(tree_model.get_iter(path), PackageListModel.COL_NAME) |
diff --git a/bitbake/lib/bb/ui/crumbs/recipeselectionpage.py b/bitbake/lib/bb/ui/crumbs/recipeselectionpage.py index 47bb253309..670b4f92b6 100755 --- a/bitbake/lib/bb/ui/crumbs/recipeselectionpage.py +++ b/bitbake/lib/bb/ui/crumbs/recipeselectionpage.py | |||
@@ -218,7 +218,7 @@ class RecipeSelectionPage (HobPage): | |||
218 | def button_click_cb(self, widget, event): | 218 | def button_click_cb(self, widget, event): |
219 | path, col = widget.table_tree.get_cursor() | 219 | path, col = widget.table_tree.get_cursor() |
220 | tree_model = widget.table_tree.get_model() | 220 | tree_model = widget.table_tree.get_model() |
221 | if path: # else activation is likely a removal | 221 | if path and col.get_title() != 'Included': # else activation is likely a removal |
222 | properties = {'summary': '', 'name': '', 'version': '', 'revision': '', 'binb': '', 'group': '', 'license': '', 'homepage': '', 'bugtracker': '', 'description': ''} | 222 | properties = {'summary': '', 'name': '', 'version': '', 'revision': '', 'binb': '', 'group': '', 'license': '', 'homepage': '', 'bugtracker': '', 'description': ''} |
223 | properties['summary'] = tree_model.get_value(tree_model.get_iter(path), RecipeListModel.COL_SUMMARY) | 223 | properties['summary'] = tree_model.get_value(tree_model.get_iter(path), RecipeListModel.COL_SUMMARY) |
224 | properties['name'] = tree_model.get_value(tree_model.get_iter(path), RecipeListModel.COL_NAME) | 224 | properties['name'] = tree_model.get_value(tree_model.get_iter(path), RecipeListModel.COL_NAME) |