mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
fix loading when no action keywords present for a plugin in userdata
This commit is contained in:
parent
76159d6cd0
commit
d024f8eff4
1 changed files with 5 additions and 0 deletions
|
|
@ -30,6 +30,11 @@ namespace Flow.Launcher.Infrastructure.UserSettings
|
||||||
metadata.ActionKeywords = settings.ActionKeywords;
|
metadata.ActionKeywords = settings.ActionKeywords;
|
||||||
metadata.ActionKeyword = settings.ActionKeywords[0];
|
metadata.ActionKeyword = settings.ActionKeywords[0];
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
metadata.ActionKeywords = new List<string>();
|
||||||
|
metadata.ActionKeyword = string.Empty;
|
||||||
|
}
|
||||||
metadata.Disabled = settings.Disabled;
|
metadata.Disabled = settings.Disabled;
|
||||||
metadata.Priority = settings.Priority;
|
metadata.Priority = settings.Priority;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue