summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/crumbs
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs')
-rw-r--r--bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py b/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py
index df7a017049..956f5ced84 100644
--- a/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py
+++ b/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py
@@ -173,6 +173,11 @@ class ImageConfigurationPage (HobPage):
173 173
174 return warnings_bar 174 return warnings_bar
175 175
176 def disable_warnings_bar(self):
177 if self.builder.parsing_warnings:
178 self.warnings_bar.hide_all()
179 self.builder.parsing_warnings = []
180
176 def create_config_machine(self): 181 def create_config_machine(self):
177 self.machine_title = gtk.Label() 182 self.machine_title = gtk.Label()
178 self.machine_title.set_alignment(0.0, 0.5) 183 self.machine_title.set_alignment(0.0, 0.5)
@@ -319,6 +324,7 @@ class ImageConfigurationPage (HobPage):
319 self.builder.populate_recipe_package_info_async() 324 self.builder.populate_recipe_package_info_async()
320 325
321 def update_machine_combo(self): 326 def update_machine_combo(self):
327 self.disable_warnings_bar()
322 all_machines = [self.__dummy_machine__] + self.builder.parameters.all_machines 328 all_machines = [self.__dummy_machine__] + self.builder.parameters.all_machines
323 329
324 model = self.machine_combo.get_model() 330 model = self.machine_combo.get_model()
@@ -328,6 +334,7 @@ class ImageConfigurationPage (HobPage):
328 self.machine_combo.set_active(0) 334 self.machine_combo.set_active(0)
329 335
330 def switch_machine_combo(self): 336 def switch_machine_combo(self):
337 self.disable_warnings_bar()
331 self.machine_combo_changed_by_manual = False 338 self.machine_combo_changed_by_manual = False
332 model = self.machine_combo.get_model() 339 model = self.machine_combo.get_model()
333 active = 0 340 active = 0