Skip to content

Commit

Permalink
Bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Tercioo committed Nov 23, 2020
1 parent dc93f02 commit 4ec2f57
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .vscode/bookmarks.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,17 +68,17 @@
"path": "$ROOTPATH$\\WorldQuestTracker_GroupFinder.lua",
"bookmarks": [
{
"line": 307,
"line": 308,
"column": 34,
"label": ""
},
{
"line": 461,
"line": 462,
"column": 0,
"label": ""
},
{
"line": 785,
"line": 786,
"column": 0,
"label": ""
}
Expand Down
11 changes: 6 additions & 5 deletions WorldQuestTracker_GroupFinder.lua
Original file line number Diff line number Diff line change
Expand Up @@ -163,14 +163,15 @@ local GetDistance_Point = DF.GetDistance_Point

--this should only work on questing and custom, player may want to select the role on other categories
local selectedCategory = LFGListFrame.SearchPanel.categoryID
if (selectedCategory ~= 1 and selectedCategory ~= 6) then
if (selectedCategory ~= 1) then
return
end

_G.LFGListApplicationDialog.TankButton.CheckButton:SetChecked(true)
_G.LFGListApplicationDialog.HealerButton.CheckButton:SetChecked(true)
_G.LFGListApplicationDialog.DamagerButton.CheckButton:SetChecked(true)
--_G.LFGListApplicationDialog.Description:SetText("World Quest Tracker.")
--checking the boxes make them be saved for the next time player uses it
-- _G.LFGListApplicationDialog.TankButton.CheckButton:SetChecked(true)
-- _G.LFGListApplicationDialog.HealerButton.CheckButton:SetChecked(true)
-- _G.LFGListApplicationDialog.DamagerButton.CheckButton:SetChecked(true)
--_G.LFGListApplicationDialog.Description:SetText("World Quest Tracker.") - causing an error

_G.LFGListApplicationDialogSignUpButton_OnClick(_G.LFGListApplicationDialog.SignUpButton)
end
Expand Down

0 comments on commit 4ec2f57

Please sign in to comment.