mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 12:18:50 +02:00
[PT Run] Uri/Web search plugin crash fix (#15472)
* [PT Run] Browser path bug fix * [PT Run][URI/Web Search] Refactoring * [PT Run][URI] Small change * [PT Run] Small modifications * [PT Run] Refactoring: moved common files to Plugins\Common and added references to plugins that use them * Fixed spelling * [PT Run][URI] Small adjustment * [PT Run] Fixed refactoring error * [PT Run] Reversed refactoring NativeMethods.cs into single file * Fixed PR changed files list (unchanged files appeared modified because of different encodings) * [PT Run] Moved BrowserInfo.cs to Wox.Plugin/SharedCommands and removed Plugins/Common * [PT Run] Renamed BrowserInfo to DefaultBrowserInfo and made it static * Minor modifications * [PT Run] Fixed refactoring error * Minor modifications * [PT Run] Renamed Wox.Plugin.SharedCommands to Wox.Plugin.Common + small change
This commit is contained in:
@@ -81,9 +81,11 @@ namespace Wox.Plugin
|
||||
Metadata.ActionKeyword = setting.ActionKeyword;
|
||||
Metadata.IsGlobal = setting.IsGlobal;
|
||||
|
||||
if (Plugin is ISettingProvider)
|
||||
(Plugin as ISettingProvider)?.UpdateSettings(setting);
|
||||
|
||||
if (IsPluginInitialized && !Metadata.Disabled)
|
||||
{
|
||||
(Plugin as ISettingProvider).UpdateSettings(setting);
|
||||
(Plugin as IReloadable)?.ReloadData();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user