diff options
-rwxr-xr-x | bitbake/lib/bb/ui/crumbs/builder.py | 1 | ||||
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py | 1 | ||||
-rwxr-xr-x | bitbake/lib/bb/ui/crumbs/recipeselectionpage.py | 3 |
3 files changed, 5 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/builder.py b/bitbake/lib/bb/ui/crumbs/builder.py index 44e2aa51fb..d417e1b214 100755 --- a/bitbake/lib/bb/ui/crumbs/builder.py +++ b/bitbake/lib/bb/ui/crumbs/builder.py | |||
@@ -126,6 +126,7 @@ class Configuration: | |||
126 | self.selected_image = None | 126 | self.selected_image = None |
127 | self.selected_recipes = [] | 127 | self.selected_recipes = [] |
128 | self.selected_packages = [] | 128 | self.selected_packages = [] |
129 | self.initial_selected_image = None | ||
129 | self.initial_selected_packages = [] | 130 | self.initial_selected_packages = [] |
130 | self.initial_user_selected_packages = [] | 131 | self.initial_user_selected_packages = [] |
131 | 132 | ||
diff --git a/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py b/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py index 8988df0bda..cbef85a9ce 100644 --- a/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py +++ b/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py | |||
@@ -432,6 +432,7 @@ class ImageConfigurationPage (HobPage): | |||
432 | self.builder.just_bake() | 432 | self.builder.just_bake() |
433 | 433 | ||
434 | def edit_image_button_clicked_cb(self, button): | 434 | def edit_image_button_clicked_cb(self, button): |
435 | self.builder.configuration.initial_selected_image = self.builder.configuration.selected_image | ||
435 | self.builder.show_recipes() | 436 | self.builder.show_recipes() |
436 | 437 | ||
437 | def template_button_clicked_cb(self, button): | 438 | def template_button_clicked_cb(self, button): |
diff --git a/bitbake/lib/bb/ui/crumbs/recipeselectionpage.py b/bitbake/lib/bb/ui/crumbs/recipeselectionpage.py index 8655c29fce..79c7790819 100755 --- a/bitbake/lib/bb/ui/crumbs/recipeselectionpage.py +++ b/bitbake/lib/bb/ui/crumbs/recipeselectionpage.py | |||
@@ -193,6 +193,9 @@ class RecipeSelectionPage (HobPage): | |||
193 | self.builder.build_packages() | 193 | self.builder.build_packages() |
194 | 194 | ||
195 | def back_button_clicked_cb(self, button): | 195 | def back_button_clicked_cb(self, button): |
196 | self.builder.recipe_model.set_selected_image(self.builder.configuration.initial_selected_image) | ||
197 | self.builder.image_configuration_page.update_image_combo(self.builder.recipe_model, self.builder.configuration.initial_selected_image) | ||
198 | self.builder.image_configuration_page.update_image_desc() | ||
196 | self.builder.show_configuration() | 199 | self.builder.show_configuration() |
197 | 200 | ||
198 | def refresh_selection(self): | 201 | def refresh_selection(self): |