summaryrefslogtreecommitdiffstats
path: root/bitbake
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
parent98a762009d7626b09dea24daa363dc9526060f8a (diff)
downloadast2050-yocto-poky-7b578b9b735441c6a2a8200c5d4c5a719a2c5838.zip
ast2050-yocto-poky-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')
-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 e696314..c016e44 100644
--- a/bitbake/lib/bb/ui/hob.py
+++ b/bitbake/lib/bb/ui/hob.py
@@ -304,13 +304,11 @@ class MainWindow (gtk.Window):
self.image_combo.disconnect(self.image_combo_id)
self.image_combo_id = None
self.model.set_selected_image(self.selected_image)
- self.selected_image = None
if not self.image_combo_id:
self.image_combo_id = self.image_combo.connect("changed", self.image_changed_cb)
if self.selected_packages:
self.model.set_selected_packages(self.selected_packages)
- self.selected_packages = None
def reset_clicked_cb(self, button):
lbl = "<b>Reset your selections?</b>\n\nAny new changes you have made will be lost"
OpenPOWER on IntegriCloud