Skip to content

Commit

Permalink
Fixed statistics frame not closing the options frame when clicking on…
Browse files Browse the repository at this point in the history
… the X button
  • Loading branch information
Tercioo committed Nov 11, 2023
1 parent 8fc0506 commit 2d92421
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frames/window_statistics.lua
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ function Details:OpenRaidHistoryWindow(raidName, bossEncounterId, difficultyId,

--create title bar
local titlebar = DF:CreateTitleBar(statisticsFrame, "Details! " .. Loc ["STRING_STATISTICS"])
titlebar.CloseButton:SetScript("OnClick", function() statisticsFrame:GetParent():Hide() end)

--STRING_GUILDDAMAGERANK_TUTORIAL_DESC
--STRING_OPTIONS_CHART_CLOSE

Expand Down

0 comments on commit 2d92421

Please sign in to comment.