mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-10-22 03:45:38 +00:00
Allow plugin initialization when application starts
This commit is contained in:
@@ -12,6 +12,11 @@ namespace QuickLook.Plugin.HtmlViewer
|
||||
public int Priority => int.MaxValue;
|
||||
public bool AllowsTransparency => false;
|
||||
|
||||
public void Init()
|
||||
{
|
||||
Helper.SetBrowserFeatureControl();
|
||||
}
|
||||
|
||||
public bool CanHandle(string path)
|
||||
{
|
||||
if (Directory.Exists(path))
|
||||
|
@@ -14,8 +14,6 @@ namespace QuickLook.Plugin.HtmlViewer
|
||||
public WebpagePanel()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
Helper.SetBrowserFeatureControl();
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
|
Reference in New Issue
Block a user