mirror of
https://github.com/9ParsonsB/Pulsar.git
synced 2025-07-01 08:23:42 -04:00
save potential settings change after action
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user