Skip to content

Commit

Permalink
More fixes for Lua error (see #267)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xbs committed Jul 25, 2024
1 parent 48724c4 commit 30d9780
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Modules/AdvancedFilter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ local function LFGListAdvancedFiltersCheckAllDungeons(enabled)
end

local function UpdateFilterRedX()
local redx = LFGListFrame.SearchPanel.FilterButton.ResetToDefaults;
local redx = LFGListFrame.SearchPanel.FilterButton.ResetButton;
local enabled = C_LFGList.GetAdvancedFilter();
if LFGListFrame.CategorySelection.selectedCategory ~= GROUP_FINDER_CATEGORY_ID_DUNGEONS
or LFGListAdvancedFiltersIsDefault(enabled) then
Expand Down
2 changes: 1 addition & 1 deletion UI/DungeonPanel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ function DungeonPanel:UpdateAdvancedFilters()
end
if self.state.mprating.act then
enabled.minimumRating = PGF.NotEmpty(self.state.mprating.min) and tonumber(self.state.mprating.min) or 0
MinRatingFrame.MinRating:SetNumber(enabled.minimumRating)
--MinRatingFrame.MinRating:SetNumber(enabled.minimumRating)
end
if self.state.tanks.act then
enabled.hasTank = PGF.NotEmpty(self.state.tanks.min) and tonumber(self.state.tanks.min) > 0
Expand Down

0 comments on commit 30d9780

Please sign in to comment.