save potential settings change after action
This commit is contained in:
parent
a91acb841b
commit
a2700d6dc0
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Reference in a new issue