mirror of
https://github.com/9ParsonsB/Pulsar.git
synced 2025-04-05 17:39:39 -04:00
save potential settings change after action
This commit is contained in:
parent
a91acb841b
commit
a2700d6dc0
@ -936,6 +936,9 @@ namespace Observatory.UI.Views
|
||||
actionButton.Click += (object sender, RoutedEventArgs e) =>
|
||||
{
|
||||
action.Invoke();
|
||||
|
||||
//Possible for the action to have changed a setting, save just in case.
|
||||
PluginManagement.PluginManager.GetInstance.SaveSettings(plugin, plugin.Settings);
|
||||
};
|
||||
|
||||
settingsGrid.AddControl(actionButton, settingsGrid.RowDefinitions.Count - 1, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user