summaryrefslogtreecommitdiffstats
path: root/lib/bb/ui/hob.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bb/ui/hob.py')
-rw-r--r--lib/bb/ui/hob.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/bb/ui/hob.py b/lib/bb/ui/hob.py
index c016e44bc..71ea88acd 100644
--- a/lib/bb/ui/hob.py
+++ b/lib/bb/ui/hob.py
@@ -396,8 +396,10 @@ class MainWindow (gtk.Window):
gtk.RESPONSE_OK))
response = chooser.run()
rep = BuildRep(None, None, None)
+ recipe = chooser.get_filename()
if response == gtk.RESPONSE_OK:
- rep.loadRecipe(chooser.get_filename())
+ rep.loadRecipe(recipe)
+ self.save_path = recipe
chooser.destroy()
self.model.load_image_rep(rep)
self.dirty = False