vlc | branch: master | David Fuhrmann <[email protected]> | Sat Mar  7 
13:09:52 2015 +0100| [9c5b13a2f43639ea0f25148e595132310956cfbc] | committer: 
David Fuhrmann

macosx: playlist: deselect item after changing categories

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9c5b13a2f43639ea0f25148e595132310956cfbc
---

 modules/gui/macosx/PLModel.m |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/gui/macosx/PLModel.m b/modules/gui/macosx/PLModel.m
index 3aec7d8..9503e70 100644
--- a/modules/gui/macosx/PLModel.m
+++ b/modules/gui/macosx/PLModel.m
@@ -69,7 +69,9 @@
     [_rootItem release];
     _rootItem = [[PLItem alloc] initWithPlaylistItem:p_root];
     [self rebuildPLItem:_rootItem];
+
     [_outlineView reloadData];
+    [_outlineView selectRowIndexes:[NSIndexSet indexSetWithIndex:0] 
byExtendingSelection:NO];
 }
 
 - (BOOL)hasChildren

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to