Mercurial > wow > wowdb-profiler
comparison Comments.lua @ 364:de1f7476805e 6.0.2-4
Fixed comment issue with quests.
author | MMOSimca <MMOSimca@gmail.com> |
---|---|
date | Wed, 15 Oct 2014 18:01:59 -0400 |
parents | 2ca6db4e2296 |
children | 4a4ed54e4201 |
comparison
equal
deleted
inserted
replaced
363:17c837b3f6b4 | 364:de1f7476805e |
---|---|
361 end | 361 end |
362 | 362 |
363 local quest_index = _G.GetQuestLogSelection() | 363 local quest_index = _G.GetQuestLogSelection() |
364 | 364 |
365 if quest_index and _G.QuestMapFrame:IsVisible() and not _G.QuestScrollFrame:IsVisible() then | 365 if quest_index and _G.QuestMapFrame:IsVisible() and not _G.QuestScrollFrame:IsVisible() then |
366 local title, _, tag, _, is_header, _, _, _, idnum = _G.GetQuestLogTitle(quest_index) | 366 local title, _, suggested_group, is_header, _, _, _, idnum = _G.GetQuestLogTitle(quest_index) |
367 | 367 |
368 if not is_header then | 368 if not is_header then |
369 line = display:AddLine(("Quest: %s"):format(title)) | 369 line = display:AddLine(("Quest: %s"):format(title)) |
370 display:SetLineScript(line, "OnMouseUp", CreateComment, CreateQuestComment) | 370 display:SetLineScript(line, "OnMouseUp", CreateComment, CreateQuestComment) |
371 end | 371 end |