mirror of
https://github.com/terrymacdonald/DisplayMagician.git
synced 2024-08-30 18:32:20 +00:00
Update to DisplayProfileForm
This commit is contained in:
parent
293ca14730
commit
b51aefa0ac
@ -54,7 +54,7 @@ namespace DisplayMagician.UIForms
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Apply the Profile
|
// Apply the Profile
|
||||||
if (Program.ApplyProfile(_selectedProfile) == ApplyProfileResult.Successful)
|
if (ProfileRepository.ApplyProfile(_selectedProfile) == ApplyProfileResult.Successful)
|
||||||
{
|
{
|
||||||
ChangeSelectedProfile(_selectedProfile);
|
ChangeSelectedProfile(_selectedProfile);
|
||||||
}
|
}
|
||||||
@ -555,7 +555,7 @@ namespace DisplayMagician.UIForms
|
|||||||
string displayProfileUUID = e.Name;
|
string displayProfileUUID = e.Name;
|
||||||
ProfileItem chosenProfile = ProfileRepository.GetProfile(displayProfileUUID);
|
ProfileItem chosenProfile = ProfileRepository.GetProfile(displayProfileUUID);
|
||||||
if (chosenProfile is ProfileItem)
|
if (chosenProfile is ProfileItem)
|
||||||
Program.ApplyProfile(chosenProfile);
|
ProfileRepository.ApplyProfile(chosenProfile);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user