summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCristiana Voicu <cristiana.voicu@intel.com>2012-09-24 16:30:59 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-09-25 13:39:46 +0100
commite8738b83b70eb794c5509ec7706bf64c68249af1 (patch)
tree1fb7865c147f9993fc1a6ba877a0abcf9bd3a9d4
parenta0bdb64a1847c56d7b6c3a37afac1fbff721d309 (diff)
downloadpoky-e8738b83b70eb794c5509ec7706bf64c68249af1.tar.gz
poky-e8738b83b70eb794c5509ec7706bf64c68249af1.tar.bz2
poky-e8738b83b70eb794c5509ec7706bf64c68249af1.zip
bitbake: hob/packageselectionpage:cancel button should redirect to Image conf screen
Cancel button brings you to Image configuration page. [YOCTO #3105] (Bitbake rev: 88cd9586f0f6a413c1a6800b3e57444f453afb73) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-xbitbake/lib/bb/ui/crumbs/packageselectionpage.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/packageselectionpage.py b/bitbake/lib/bb/ui/crumbs/packageselectionpage.py
index 7e7828b332..46bd014428 100755
--- a/bitbake/lib/bb/ui/crumbs/packageselectionpage.py
+++ b/bitbake/lib/bb/ui/crumbs/packageselectionpage.py
@@ -187,12 +187,12 @@ class PackageSelectionPage (HobPage):
self.builder.build_image()
def back_button_clicked_cb(self, button):
- if self.builder.current_step == self.builder.PACKAGE_GENERATED:
- self.builder.show_configuration()
- elif self.builder.previous_step == self.builder.IMAGE_GENERATED:
+ if self.builder.previous_step == self.builder.IMAGE_GENERATED:
self.builder.restore_initial_selected_packages()
self.refresh_selection()
self.builder.show_image_details()
+ else:
+ self.builder.show_configuration()
def _expand_all(self):
for tab in self.tables: