diff --git a/displaymagician/uiforms/displayprofileform.cs b/displaymagician/uiforms/displayprofileform.cs index 002f0d2..02bd94a 100644 --- a/displaymagician/uiforms/displayprofileform.cs +++ b/displaymagician/uiforms/displayprofileform.cs @@ -558,5 +558,17 @@ namespace DisplayMagician.UIForms } + private void btn_profile_settings_Click(object sender, EventArgs e) + { + ProfileSettingsForm profileSettingsForm = new ProfileSettingsForm(); + profileSettingsForm.Profile = _selectedProfile; + profileSettingsForm.ShowDialog(this); + // If the profile was previously saved and is now changed then save all the profiles + // otherwise we'll save it only when the user wants to save this profile. + if (_saveOrRenameMode == "rename" && profileSettingsForm.ProfileSettingChanged) + { + ProfileRepository.SaveProfiles(); + } + } } } \ No newline at end of file