summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py')
-rw-r--r--bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py12
1 files changed, 10 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py b/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py
index d7437a9925..9ad1ea43d5 100644
--- a/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py
+++ b/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py
@@ -360,11 +360,19 @@ class ImageConfigurationPage (HobPage):
360 self.builder.build_packages() 360 self.builder.build_packages()
361 361
362 def template_button_clicked_cb(self, button): 362 def template_button_clicked_cb(self, button):
363 self.builder.show_load_template_dialog() 363 response, path = self.builder.show_load_template_dialog()
364 if not response:
365 return
366 if path:
367 self.builder.load_template(path)
364 368
365 def my_images_button_clicked_cb(self, button): 369 def my_images_button_clicked_cb(self, button):
366 self.builder.show_load_my_images_dialog() 370 self.builder.show_load_my_images_dialog()
367 371
368 def settings_button_clicked_cb(self, button): 372 def settings_button_clicked_cb(self, button):
369 # Create an advanced settings dialog 373 # Create an advanced settings dialog
370 self.builder.show_adv_settings_dialog() 374 response, settings_changed = self.builder.show_adv_settings_dialog()
375 if not response:
376 return
377 if settings_changed:
378 self.builder.reparse_post_adv_settings()