QuickLook main window even if it's closed, and update the QL window when opening/closing the inspector

This commit is contained in:
Mitchell Livingston
2009-10-11 23:50:13 +00:00
parent 80e3ed302f
commit f9012885c3
3 changed files with 16 additions and 11 deletions

View File

@@ -134,10 +134,7 @@ typedef enum
{
if ([NSApp isOnSnowLeopardOrBetter] && [QLPreviewPanelSL sharedPreviewPanelExists]
&& [[QLPreviewPanelSL sharedPreviewPanel] isVisible])
{
[[QLPreviewPanelSL sharedPreviewPanel] reloadData];
[[QLPreviewPanelSL sharedPreviewPanel] updateController];
}
}
- (NSInteger) outlineView: (NSOutlineView *) outlineView numberOfChildrenOfItem: (id) item