Fixed Profile reverting after game execution

The ApplyProfile had some logic that would stop
reverting the profile after the game/exe was exited.
This should now be fixed.

Also attempted a fix to centralise the timer circle
in the middle window while applying a profile.
This commit is contained in:
Terry MacDonald
2020-10-22 20:08:26 +13:00
parent a5d581fec8
commit ca1b760d9e
3 changed files with 9 additions and 9 deletions

View File

@ -484,7 +484,6 @@ namespace HeliosPlus
if (needToChangeProfiles)
{
// Apply the Profile!
//if (!ProfileRepository.ApplyProfile(shortcutToUse.ProfileToUse))
if (!Program.ApplyProfile(shortcutToUse.ProfileToUse))
{
throw new Exception(Language.Cannot_change_active_profile);