Commit 07216ea8 authored by Shenghan Chen's avatar Shenghan Chen Committed by Felix Paul Kühne

Playlist: always clear selection when enter edit mode (fix #14860)

Signed-off-by: Felix Paul Kühne's avatarFelix Paul Kühne <fkuehne@videolan.org>
parent 730898bc
......@@ -1101,6 +1101,8 @@ static NSString *kUsingTableViewToShowData = @"UsingTableViewToShowData";
[visibleCells enumerateObjectsUsingBlock:^(id obj, NSUInteger idx, BOOL *stop) {
VLCPlaylistCollectionViewCell *aCell = (VLCPlaylistCollectionViewCell*)obj;
// always clear selection when enter edit mode
aCell.selected = NO;
[aCell setEditing:editing animated:animated];
}];
self.collectionView.allowsMultipleSelection = editing;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment