diff options
Diffstat (limited to 'bitbake/lib/bb/ui/hob.py')
-rw-r--r-- | bitbake/lib/bb/ui/hob.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/hob.py b/bitbake/lib/bb/ui/hob.py index df0ebe2..865933c 100644 --- a/bitbake/lib/bb/ui/hob.py +++ b/bitbake/lib/bb/ui/hob.py @@ -155,6 +155,10 @@ class MainWindow (gtk.Window): def data_generated(self, handler): self.generating = False self.image_combo.set_model(self.model.images_model()) + # Without this the image combo is incorrectly sized on first load of the GUI + self.image_combo.set_active(0) + self.image_combo.set_active(-1) + if not self.image_combo_id: self.image_combo_id = self.image_combo.connect("changed", self.image_changed_cb) self.enable_widgets() |