vlc | branch: master | Felix Paul Kühne <[email protected]> | Tue Feb 21 17:31:00 2012 +0100| [16932fa4caa9bab8ff56e694a9a296d1a3b05bd6] | committer: Felix Paul Kühne
macosx: fixed seldom crash when collapsing stuff in the sidebar (close #6150) > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=16932fa4caa9bab8ff56e694a9a296d1a3b05bd6 --- modules/gui/macosx/MainWindow.m | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/modules/gui/macosx/MainWindow.m b/modules/gui/macosx/MainWindow.m index 36c3bc6..94df540 100644 --- a/modules/gui/macosx/MainWindow.m +++ b/modules/gui/macosx/MainWindow.m @@ -2023,7 +2023,7 @@ static VLCMainWindow *_o_sharedInstance = nil; id item = [o_sidebar_view itemAtRow:[selectedIndexes firstIndex]]; //Set the label text to represent the new selection - if ([item sdtype] > -1) + if ([item sdtype] > -1 && [[item identifier] length] > 0) { BOOL sd_loaded = playlist_IsServicesDiscoveryLoaded( p_playlist, [[item identifier] UTF8String] ); if (!sd_loaded) _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
