summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbitbake/lib/bb/ui/crumbs/imagedetailspage.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/imagedetailspage.py b/bitbake/lib/bb/ui/crumbs/imagedetailspage.py
index ca33e08a77..b5d9660218 100755
--- a/bitbake/lib/bb/ui/crumbs/imagedetailspage.py
+++ b/bitbake/lib/bb/ui/crumbs/imagedetailspage.py
@@ -635,6 +635,14 @@ class ImageDetailsPage (HobPage):
635 images_dir = topdir + "/recipes/images/" 635 images_dir = topdir + "/recipes/images/"
636 self.builder.ensure_dir(images_dir) 636 self.builder.ensure_dir(images_dir)
637 637
638 self.name_field_template = self.builder.image_configuration_page.custom_image_selected
639 if self.name_field_template:
640 image_path = self.builder.recipe_model.pn_path[self.name_field_template]
641 image_iter = self.builder.recipe_model.get_iter(image_path)
642 self.description_field_template = self.builder.recipe_model.get_value(image_iter, self.builder.recipe_model.COL_DESC)
643 else:
644 self.name_field_template = ""
645
638 dialog = SaveImageDialog(images_dir, self.name_field_template, self.description_field_template, 646 dialog = SaveImageDialog(images_dir, self.name_field_template, self.description_field_template,
639 "Save image recipe", self.builder, gtk.DIALOG_MODAL | gtk.DIALOG_DESTROY_WITH_PARENT) 647 "Save image recipe", self.builder, gtk.DIALOG_MODAL | gtk.DIALOG_DESTROY_WITH_PARENT)
640 response = dialog.run() 648 response = dialog.run()