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
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):
187 self.builder.build_image() 187 self.builder.build_image()
188 188
189 def back_button_clicked_cb(self, button): 189 def back_button_clicked_cb(self, button):
190 if self.builder.current_step == self.builder.PACKAGE_GENERATED: 190 if self.builder.previous_step == self.builder.IMAGE_GENERATED:
191 self.builder.show_configuration()
192 elif self.builder.previous_step == self.builder.IMAGE_GENERATED:
193 self.builder.restore_initial_selected_packages() 191 self.builder.restore_initial_selected_packages()
194 self.refresh_selection() 192 self.refresh_selection()
195 self.builder.show_image_details() 193 self.builder.show_image_details()
194 else:
195 self.builder.show_configuration()
196 196
197 def _expand_all(self): 197 def _expand_all(self):
198 for tab in self.tables: 198 for tab in self.tables: