Commit 389642c4 authored by Joaquim Rocha's avatar Joaquim Rocha Committed by John Stowers

Add groups only if they have tweaks

https://bugzilla.gnome.org/show_bug.cgi?id=699572
parent e5c6286e
......@@ -151,7 +151,8 @@ class TweakModel(Gtk.ListStore):
tweaks.extend( getattr(mod, "TWEAKS", []) )
for g in groups:
self.add_tweak_group(g)
if g.tweaks:
self.add_tweak_group(g)
for t in tweaks:
self.add_tweak_auto_to_group(t)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment