From 1afd227f02de112a6132ac45cfa9f44d50a36f46 Mon Sep 17 00:00:00 2001 From: Davide De Rosa Date: Thu, 28 Apr 2022 21:30:57 +0200 Subject: [PATCH] Do not update current profile on activation --- .../Sources/PassepartoutProfiles/Managers/ProfileManager.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PassepartoutCore/Sources/PassepartoutProfiles/Managers/ProfileManager.swift b/PassepartoutCore/Sources/PassepartoutProfiles/Managers/ProfileManager.swift index 6f7086d6..42056d15 100644 --- a/PassepartoutCore/Sources/PassepartoutProfiles/Managers/ProfileManager.swift +++ b/PassepartoutCore/Sources/PassepartoutProfiles/Managers/ProfileManager.swift @@ -301,7 +301,7 @@ extension ProfileManager { } public func activateCurrentProfile() { - activateProfile(currentProfile.value) + saveProfile(currentProfile.value, isActive: true, updateIfCurrent: false) } public func saveCurrentProfile() {