[vlc-commits] macosx: playlist: deselect item after changing categories
David Fuhrmann
git at videolan.org
Sun Mar 8 17:49:19 CET 2015
vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | 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
More information about the vlc-commits
mailing list