From e9f4c94d57674d46add61f5da701557adfd7122c Mon Sep 17 00:00:00 2001 From: Nils89 Date: Sat, 25 May 2024 00:44:16 +0200 Subject: [PATCH] only force update quest tracker header if tracker is loaded --- CHANGELOG.txt | 3 +++ CHANGELOG_NEW_VERSION.txt | 3 +++ changelog.lua | 4 ++++ objectives/notifications.lua | 4 +++- 4 files changed, 13 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 2937b20a8..6ba63d27d 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,3 +1,6 @@ +1.4.3-Cata + Only force update quest tracker header if tracker is loaded + 1.4.2-Cata Fix grid aura indicator frame layer Fix wrong setting api diff --git a/CHANGELOG_NEW_VERSION.txt b/CHANGELOG_NEW_VERSION.txt index 3298044e6..57a55689a 100644 --- a/CHANGELOG_NEW_VERSION.txt +++ b/CHANGELOG_NEW_VERSION.txt @@ -1,3 +1,6 @@ +1.4.3-Cata + Only force update quest tracker header if tracker is loaded + 1.4.2-Cata Fix grid aura indicator frame layer Fix wrong setting api diff --git a/changelog.lua b/changelog.lua index b28ad288a..a3cd28e03 100644 --- a/changelog.lua +++ b/changelog.lua @@ -8,6 +8,10 @@ local ct = { } GW.CHANGELOGS_TYPES = ct +addChange("1.4.3",{ + {ct.bug,[=[Only force update quest tracker header if tracker is loaded]=]}, +}) + addChange("1.4.2",{ {ct.bug,[=[Fix grid aura indicator frame layer]=]}, {ct.bug,[=[Fix wrong setting api]=]}, diff --git a/objectives/notifications.lua b/objectives/notifications.lua index 22bdf03b9..d8f2ab364 100644 --- a/objectives/notifications.lua +++ b/objectives/notifications.lua @@ -176,7 +176,9 @@ local function RemoveTrackerNotificationOfType(doType) notifications[k] = nil end end - GW.forceCompassHeaderUpdate() + if GetSetting("QUESTTRACKER_ENABLED") and not GW.IsIncompatibleAddonLoadedOrOverride("Objectives", true) then + GW.forceCompassHeaderUpdate() + end end GW.RemoveTrackerNotificationOfType = RemoveTrackerNotificationOfType