ui/crumbs/hobprefs: trigger reparse when package format changed

reload_data after package format change to make the change take effects in
next build.

Fixes [YOCTO #1287].

(Bitbake rev: fb47c7452455f3f8d943b21dd61300ec55eea141)

Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Jessica Zhang
2011-07-26 17:18:20 -07:00
committed by Richard Purdie
parent cd4141f1a7
commit 60218d19f7

View File

@@ -93,6 +93,7 @@ class HobPrefs(gtk.Dialog):
self.curr_package_format = package_format
self.configurator.setLocalConfVar('PACKAGE_CLASSES', 'package_%s' % package_format)
handler.set_package_format(package_format)
self.reload_required = True
def update_package_formats(self, handler, formats):
active = 0