[vlc-devel] commit: macosx: Make sure we update the information panel, if the playlist changes. ( Felix Paul Kühne )

git version control git at videolan.org
Thu Jul 17 19:57:38 CEST 2008


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Thu Jul 17 13:43:22 2008 +0200| [b9d34123ac6c9fbcb4fb890fdd1340143d64b5b5]

macosx: Make sure we update the information panel, if the playlist changes.

We shouldn't think that we are the only one who can change the pl ;-)

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

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

diff --git a/modules/gui/macosx/playlist.m b/modules/gui/macosx/playlist.m
index 232aa4b..974a4a1 100644
--- a/modules/gui/macosx/playlist.m
+++ b/modules/gui/macosx/playlist.m
@@ -478,6 +478,8 @@
             [o_status_field setStringValue: _NS("1 item")];
     }
     vlc_object_release( p_playlist );
+
+    [self outlineViewSelectionDidChange: nil];
 }
 
 - (void)playModeUpdated
@@ -560,7 +562,7 @@
 
 /* Check if p_item is a child of p_node recursively. We need to check the item
    existence first since OSX sometimes tries to redraw items that have been
-   deleted. We don't do it when not required  since this verification takes
+   deleted. We don't do it when not required since this verification takes
    quite a long time on big playlists (yes, pretty hacky). */
 
 - (BOOL)isItem: (playlist_item_t *)p_item
@@ -655,7 +657,6 @@
             }
         }
     }
-
 }
 
 - (IBAction)savePlaylist:(id)sender




More information about the vlc-devel mailing list