Skip to content

Commit

Permalink
Don't allow deleting OEDBSmartCollection items.
Browse files Browse the repository at this point in the history
There's currently no way for the user to get "Recently Added" back.
  • Loading branch information
robotoad committed Dec 23, 2015
1 parent def21cc commit 437aecd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenEmu/OESidebarController.m
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ - (void)removeItemAtIndex:(NSUInteger)index
{
id item = [self.view itemAtRow:index];

if ([item isEditableInSidebar] || [item isKindOfClass:[OEDBSmartCollection class]]) {
if ([item isEditableInSidebar]) {

NSString *msg = NSLocalizedString(@"Are you sure you want to remove this collection?", @"");
NSString *confirm = NSLocalizedString(@"Remove", @"");
Expand Down

0 comments on commit 437aecd

Please sign in to comment.