Skip to content

Commit

Permalink
10.0 deprecated InterfaceOptionsFrame_OpenToCategory.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcraig committed Jul 30, 2024
1 parent 115fe16 commit e2ff939
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Broker_Currencyflow.lua
Original file line number Diff line number Diff line change
Expand Up @@ -808,7 +808,7 @@ local launcher = LDB:NewDataObject( MODNAME, {
StaticPopup_Show ("RESET_SESSION")

elseif button == "RightButton" then
Currencyflow:LoadCurrencies(); InterfaceOptionsFrame_OpenToCategory(FULLNAME)
Currencyflow:LoadCurrencies(); Settings.OpenToCategory(FULLNAME)
end
end,

Expand Down Expand Up @@ -1330,7 +1330,7 @@ function Currencyflow:OnEnable()
self:SetupOptions()

-- Create some slashcommands
_G.SlashCmdList["CASHFLOW"] = function() InterfaceOptionsFrame_OpenToCategory(FULLNAME) end
_G.SlashCmdList["CASHFLOW"] = function() Settings.OpenToCategory(FULLNAME) end
_G["SLASH_CASHFLOW1"] = "/cashflow"
_G["SLASH_CASHFLOW2"] = "/cf"

Expand Down

0 comments on commit e2ff939

Please sign in to comment.