mirror of
https://github.com/terrymacdonald/DisplayMagician.git
synced 2024-08-30 18:32:20 +00:00
Added IsActive check to ChangeProfile
ChangeProfile was always trying to apply the profile even if it was already on it. So changed that so it only does it when it's needed.
This commit is contained in:
parent
34eab029d1
commit
c05a2a0f0b
@ -330,6 +330,10 @@ namespace HeliosPlus {
|
||||
if (!profile.IsPossible)
|
||||
return false;
|
||||
|
||||
// We need to check if the profile is the same one that we're on
|
||||
if (profile.IsActive)
|
||||
return false;
|
||||
|
||||
try
|
||||
{
|
||||
// Now lets prepare changing the display topology task
|
||||
|
Loading…
Reference in New Issue
Block a user