瀏覽代碼

hob: enable package only builds even if an image has been built

Once an image build has been performed the selected_image variable would
prevent the package only build choice being triggered - by setting the
variable to None on reset we are able to perform package only builds after
an image build.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Joshua Lock 12 年之前
父節點
當前提交
705156e281
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      lib/bb/ui/hob.py

+ 1 - 0
lib/bb/ui/hob.py

@@ -322,6 +322,7 @@ class MainWindow (gtk.Window):
         if response == gtk.RESPONSE_OK:
             self.reset_build()
             self.search.set_text("")
+            self.selected_image = None
         return
 
     def reset_build(self):