[vlc-commits] macosx: redraw the playlist view on selection change (close #6316)

Felix Paul Kühne git at videolan.org
Mon Mar 5 20:55:43 CET 2012


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Mon Mar  5 20:55:35 2012 +0100| [43b0c46d145dba1ea51e464d48af35bd2f3cbc83] | committer: Felix Paul Kühne

macosx: redraw the playlist view on selection change (close #6316)

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

 modules/gui/macosx/playlist.m |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/gui/macosx/playlist.m b/modules/gui/macosx/playlist.m
index bd102e0..41f0f93 100644
--- a/modules/gui/macosx/playlist.m
+++ b/modules/gui/macosx/playlist.m
@@ -620,6 +620,7 @@
     id o_item = [o_outline_dict objectForKey:[NSString stringWithFormat: @"%p", p_item]];
     NSInteger i_index = [o_outline_view rowForItem:o_item];
     [o_outline_view selectRowIndexes:[NSIndexSet indexSetWithIndex:i_index] byExtendingSelection:NO];
+    [o_outline_view setNeedsDisplay:YES];
 }
 
 /* Check if p_item is a child of p_node recursively. We need to check the item



More information about the vlc-commits mailing list