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

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


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

macosx: redraw the playlist view on selection change (close #6316)
(cherry picked from commit 43b0c46d145dba1ea51e464d48af35bd2f3cbc83)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=908e8090f5636e023909649472f7359feff84478
---

 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