mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-11 17:59:17 +00:00
Fix unsupported CLSID was not shown
This commit is contained in:
@@ -25,7 +25,6 @@ namespace QuickLook.Plugin.CLSIDViewer;
|
||||
public class Plugin : IViewer
|
||||
{
|
||||
private CLSIDInfoPanel _ip;
|
||||
private string _path;
|
||||
|
||||
public int Priority => -1;
|
||||
|
||||
@@ -57,13 +56,12 @@ public class Plugin : IViewer
|
||||
|
||||
public void View(string path, ContextObject context)
|
||||
{
|
||||
_path = path;
|
||||
_ip = new CLSIDInfoPanel();
|
||||
_ip.DisplayInfo(path, context);
|
||||
|
||||
context.ViewerContent = _ip;
|
||||
context.Title = $"{CLSIDRegister.GetName(path) ?? path}";
|
||||
context.IsBusy = true;
|
||||
context.IsBusy = false;
|
||||
}
|
||||
|
||||
public void Cleanup()
|
||||
|
Reference in New Issue
Block a user