summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/hob.py
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2011-09-23 13:19:16 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-09-25 16:25:06 +0100
commit7b578b9b735441c6a2a8200c5d4c5a719a2c5838 (patch)
tree3020395c3135579034695a9de13c0bd727fd0b55 /bitbake/lib/bb/ui/hob.py
parent98a762009d7626b09dea24daa363dc9526060f8a (diff)
downloadpoky-7b578b9b735441c6a2a8200c5d4c5a719a2c5838.tar.gz
hob: fix building with current selections after reparse
After the reparse we were setting the model to reflect the values before the reparse was triggered but clearing the internal variables used to test whether these values are set, leading to the UI erroneously reporting that selections had not been made. (Bitbake rev: 656eafe0f2c9ec7730d33e15705b8c720f787c49) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/hob.py')
-rw-r--r--bitbake/lib/bb/ui/hob.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/hob.py b/bitbake/lib/bb/ui/hob.py
index e696314358..c016e44bc0 100644
--- a/bitbake/lib/bb/ui/hob.py
+++ b/bitbake/lib/bb/ui/hob.py
@@ -304,13 +304,11 @@ class MainWindow (gtk.Window):
304 self.image_combo.disconnect(self.image_combo_id) 304 self.image_combo.disconnect(self.image_combo_id)
305 self.image_combo_id = None 305 self.image_combo_id = None
306 self.model.set_selected_image(self.selected_image) 306 self.model.set_selected_image(self.selected_image)
307 self.selected_image = None
308 if not self.image_combo_id: 307 if not self.image_combo_id:
309 self.image_combo_id = self.image_combo.connect("changed", self.image_changed_cb) 308 self.image_combo_id = self.image_combo.connect("changed", self.image_changed_cb)
310 309
311 if self.selected_packages: 310 if self.selected_packages:
312 self.model.set_selected_packages(self.selected_packages) 311 self.model.set_selected_packages(self.selected_packages)
313 self.selected_packages = None
314 312
315 def reset_clicked_cb(self, button): 313 def reset_clicked_cb(self, button):
316 lbl = "<b>Reset your selections?</b>\n\nAny new changes you have made will be lost" 314 lbl = "<b>Reset your selections?</b>\n\nAny new changes you have made will be lost"