Skip to content

Commit

Permalink
Merge pull request Macro-Deck-App#157 from Develeon64/master
Browse files Browse the repository at this point in the history
Fixed bug: PluginConfiguration only saving last saved key
  • Loading branch information
manuelmayer-dev authored Feb 22, 2022
2 parents c21e7bf + 30b9c3a commit c37e756
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions GUI/CustomControls/Variables/VariableItem.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Plugins/PluginConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public static void SetValue(MacroDeckPlugin plugin, string key, string value)
{
Dictionary<string, string> pluginConfig;

if (!File.Exists(Path.Combine(MacroDeck.PluginConfigPath, plugin.Author.ToLower() + "_" + plugin.Name.ToLower())))
if (!File.Exists(Path.Combine(MacroDeck.PluginConfigPath, plugin.Author.ToLower() + "_" + plugin.Name.ToLower() + ".json")))
{
pluginConfig = new Dictionary<string, string>();
}
Expand Down

0 comments on commit c37e756

Please sign in to comment.