Added check to see if TomTom is loaded before displaying the tooltip hint for waypoint generation.
torhal [01-13-10 - 11:03]
Added check to see if TomTom is loaded before displaying the tooltip hint for waypoint generation.
diff --git a/Frame.lua b/Frame.lua
index 0f51d8f..6875725 100644
--- a/Frame.lua
+++ b/Frame.lua
@@ -862,7 +862,7 @@ do
ttAdd(0, -1, 0, L["CTRL_CLICK"], color_1)
ttAdd(0, -1, 0, L["SHIFT_CLICK"], color_1)
- if addon.db.profile.worldmap or addon.db.profile.minimap then
+ if TomTom and (addon.db.profile.worldmap or addon.db.profile.minimap) then
ttAdd(0, -1, 0, L["CTRL_SHIFT_CLICK"], color_1)
end
acquire_tip:Show()