diff options
author | Joshua Lock <josh@linux.intel.com> | 2011-08-11 15:41:47 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-12 21:07:00 +0100 |
commit | 7eb72b07ef4db06799dea7dc0e3f732b0a34b6ab (patch) | |
tree | b31f3ebb7cec84903518ce425dcf7db7e9516a06 /bitbake/lib | |
parent | b829654a5a72840013f0929d2574e0a6bb6d8533 (diff) | |
download | poky-7eb72b07ef4db06799dea7dc0e3f732b0a34b6ab.tar.gz |
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>
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/hobprefs.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobprefs.py b/bitbake/lib/bb/ui/crumbs/hobprefs.py index 8ebfba243c..014087b7f4 100644 --- a/bitbake/lib/bb/ui/crumbs/hobprefs.py +++ b/bitbake/lib/bb/ui/crumbs/hobprefs.py | |||
@@ -163,6 +163,7 @@ class HobPrefs(gtk.Dialog): | |||
163 | def prefs_response_cb(self, dialog, response): | 163 | def prefs_response_cb(self, dialog, response): |
164 | if self.reload_required: | 164 | if self.reload_required: |
165 | glib.idle_add(self.handler.reload_data) | 165 | glib.idle_add(self.handler.reload_data) |
166 | self.reload_required = False | ||
166 | 167 | ||
167 | def __init__(self, configurator, handler, curr_sdk_mach, curr_distro, pclass, | 168 | def __init__(self, configurator, handler, curr_sdk_mach, curr_distro, pclass, |
168 | cpu_cnt, pmake, bbthread, selected_image_types, all_image_types, | 169 | cpu_cnt, pmake, bbthread, selected_image_types, all_image_types, |