Skip to content
Snippets Groups Projects
Commit e2fff8a8 authored by Claudio Cambra's avatar Claudio Cambra Committed by Steve Lhomme
Browse files

macosx: When regenerating child nodes for a directory, checkfor affected nav states and fix them


Signed-off-by: default avatarClaudio Cambra <developer@claudiocambra.com>
parent b747853a
No related branches found
No related tags found
1 merge request!7024macosx: Fix crash when going forwards after having gone backwards in browse view
......@@ -508,6 +508,11 @@ static const char *const myFoldersDescription = "My Folders";
if (urlNode) {
input_item_node_AppendNode(directoryNode, urlNode);
}
VLCLibraryMediaSourceViewNavigationState * const affectedState = [affectedPathControlStates objectForKey:url];
if (affectedState != nil) {
affectedState.currentNodeDisplayed = [[VLCInputNode alloc] initWithInputNode:urlNode];
[affectedPathControlStates removeObjectForKey:url];
}
input_item_Release(urlInputItem);
urlInputItem = NULL;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment