summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/ui/hob.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/hob.py b/bitbake/lib/bb/ui/hob.py
index df0ebe2328..865933c95a 100644
--- a/bitbake/lib/bb/ui/hob.py
+++ b/bitbake/lib/bb/ui/hob.py
@@ -155,6 +155,10 @@ class MainWindow (gtk.Window):
155 def data_generated(self, handler): 155 def data_generated(self, handler):
156 self.generating = False 156 self.generating = False
157 self.image_combo.set_model(self.model.images_model()) 157 self.image_combo.set_model(self.model.images_model())
158 # Without this the image combo is incorrectly sized on first load of the GUI
159 self.image_combo.set_active(0)
160 self.image_combo.set_active(-1)
161
158 if not self.image_combo_id: 162 if not self.image_combo_id:
159 self.image_combo_id = self.image_combo.connect("changed", self.image_changed_cb) 163 self.image_combo_id = self.image_combo.connect("changed", self.image_changed_cb)
160 self.enable_widgets() 164 self.enable_widgets()