Commit d8e1c0cc authored by Marvin Scholz's avatar Marvin Scholz
Browse files

macosx: Update sidebar on playlist table changes

This is necessary to update the counter badges properly.
parent 7da1546f
......@@ -48,6 +48,8 @@
#import "VLCResumeDialogController.h"
#import "VLCOpenWindowController.h"
#import "PXSourceList/PXSourceList.h"
#include <vlc_actions.h>
#import <vlc_interface.h>
#include <vlc_url.h>
......@@ -363,6 +365,7 @@
- (IBAction)deleteItem:(id)sender
{
[_model deleteSelectedItem];
[[[[VLCMain sharedInstance] mainWindow] sidebarView] performSelector:@selector(reloadData) withObject:nil afterDelay:0.15];
}
// Actions for playlist column selections
......@@ -645,6 +648,7 @@
input_item_Release(p_input);
}
PL_UNLOCK;
[[[[VLCMain sharedInstance] mainWindow] sidebarView] performSelector:@selector(reloadData) withObject:nil afterDelay:0.15];
}
- (IBAction)recursiveExpandOrCollapseNode:(id)sender
......
Supports Markdown
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