bb/ui/hob: move some code around to avert a race
authorJoshua Lock <josh@linux.intel.com>
Sat, 6 Aug 2011 00:13:21 +0000 (17:13 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 9 Aug 2011 14:19:59 +0000 (15:19 +0100)
commit3c1aba2d77f32825d9d20c26ed3bccd997ed4f75
tree62d3ee1eaccb4de249db58e526de2152e5ed7738
parent1948e098df297f6aae825a2ef635beeed053b4a9
bb/ui/hob: move some code around to avert a race

The data-generated and model-updated signals are different, the model
should only be accessed *after* the model-updated signal. Move code
setting the image combo's backing model to the model-updated callback to
ensure the combo is accurately set when changing the machine with an
image selected.

(Bitbake rev: 46953d3b4595667935d43fe7b20264ae0efd1bdf)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/ui/hob.py