mirror of
https://github.com/terrymacdonald/DisplayMagician.git
synced 2024-08-30 18:32:20 +00:00
2nd parse of the display profile form
This commit is contained in:
parent
b374850bfe
commit
838ebff43b
@ -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();
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user