summary: hide software row if not available

This commit is contained in:
Peter Eisenmann
2022-10-29 02:42:20 +02:00
parent e09db2109e
commit 1452f8091b

View File

@@ -40,6 +40,7 @@ class SummaryPage(Gtk.Box, Page):
self.software_list.bind_model(
self.software_model, lambda pkg: SoftwareSummaryRow(pkg.name, pkg.icon_path))
self.language_row.set_visible(global_state.get_config('fixed_language'))
self.software_row.set_visible(global_state.get_config('additional_software'))
### callbacks ###