Run blizzard's code if our stop-key is used
p3lim [01-03-11 - 16:05]
Run blizzard's code if our stop-key is used
diff --git a/Monomyth.lua b/Monomyth.lua
index 119fd9c..ca9940e 100644
--- a/Monomyth.lua
+++ b/Monomyth.lua
@@ -6,7 +6,11 @@ local COMPLETE = [=[Interface\GossipFrame\ActiveQuestIcon]=]
function addon:Register(event, func)
self:RegisterEvent(event)
self[event] = function(...)
- if(not IsShiftKeyDown()) then
+ if(IsShiftKeyDown()) then
+ if(event == 'QUEST_DETAIL') then
+ QuestFrame_OnEvent(nil, event)
+ end
+ else
func(...)
end
end