lib/bb/ui/crumbs/hobprefs: fix erroneous save/reparse
We need to unset the reload_required variable once we've triggered a reload so that we don't cause a reload each time the preferences dialog is shown and dismissed, regardless of whether anything has changed. (Bitbake rev: b3ad7acebfad3063c3364f4492f53b25bf53cf81) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
b829654a5a
commit
7eb72b07ef
|
@ -163,6 +163,7 @@ class HobPrefs(gtk.Dialog):
|
||||||
def prefs_response_cb(self, dialog, response):
|
def prefs_response_cb(self, dialog, response):
|
||||||
if self.reload_required:
|
if self.reload_required:
|
||||||
glib.idle_add(self.handler.reload_data)
|
glib.idle_add(self.handler.reload_data)
|
||||||
|
self.reload_required = False
|
||||||
|
|
||||||
def __init__(self, configurator, handler, curr_sdk_mach, curr_distro, pclass,
|
def __init__(self, configurator, handler, curr_sdk_mach, curr_distro, pclass,
|
||||||
cpu_cnt, pmake, bbthread, selected_image_types, all_image_types,
|
cpu_cnt, pmake, bbthread, selected_image_types, all_image_types,
|
||||||
|
|
Loading…
Reference in New Issue