mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
change sequence of loading for shell plugin to avoid null reference
This commit is contained in:
parent
2d381d69c0
commit
59f0a06cb3
1 changed files with 1 additions and 1 deletions
|
|
@ -271,8 +271,8 @@ namespace Flow.Launcher.Plugin.Shell
|
|||
public void Init(PluginInitContext context)
|
||||
{
|
||||
this.context = context;
|
||||
context.API.GlobalKeyboardEvent += API_GlobalKeyboardEvent;
|
||||
_settings = context.API.LoadSettingJsonStorage<Settings>();
|
||||
context.API.GlobalKeyboardEvent += API_GlobalKeyboardEvent;
|
||||
}
|
||||
|
||||
bool API_GlobalKeyboardEvent(int keyevent, int vkcode, SpecialKeyState state)
|
||||
|
|
|
|||
Loading…
Reference in a new issue