Commit 882829ca authored by Anton Belka's avatar Anton Belka Committed by Vadim Rutkovsky

Scroll to current song when a song is changed

https://bugzilla.gnome.org/show_bug.cgi?id=707376
parent d8c378fd
......@@ -421,6 +421,8 @@ class Songs(ViewContainer):
child_iter = self.filter.convert_iter_to_child_iter(currentIter)
self._model.set_value(child_iter, 10, True)
path = self._model.get_path(child_iter)
self.view.get_generic_view().scroll_to_path(path)
if self._model.get_value(child_iter, 8) != self.errorIconName:
self.iter_to_clean = child_iter.copy()
return False
......
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