Commit 35b1aafd authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

Fix runtime exception

(cherry picked from commit 2a5873b9)
parent 87d4de50
......@@ -657,6 +657,8 @@ static NSString *kUsingTableViewToShowData = @"UsingTableViewToShowData";
return;
object.folderTrackNumber = @(toIndexPath.item - 1);
object = [_foundMedia objectAtIndex:fromIndexPath.item];
if (![object isKindOfClass:[MLFile class]])
return;
object.folderTrackNumber = @(fromIndexPath.item - 1);
}
}
......
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