rind: Only expand library playlist paths when added
Otherwise genres fill the list and make everything look cluttered. Signed-off-by: Anna Schumaker <Anna@NoWheyCreamery.com>
This commit is contained in:
parent
85f07fea36
commit
d77b1a9c09
|
@ -120,6 +120,7 @@ class ManagerModel(GObject.GObject, Gtk.TreeModel):
|
|||
parent = self.iter_parent(iter)
|
||||
if self.iter_n_children(parent) == 1:
|
||||
self.row_has_child_toggled(self.get_path(parent), parent)
|
||||
if isinstance(plist, curds.LibraryPlaylist):
|
||||
Treeview.expand_to_path(self.get_path(parent))
|
||||
|
||||
def on_selection_changed(self, selection):
|
||||
|
|
Loading…
Reference in New Issue