Skip to content

Commit

Permalink
InterfaceOptionsFrame can no longer be used
Browse files Browse the repository at this point in the history
Fixes #1
  • Loading branch information
GurliGebis committed Apr 30, 2024
1 parent 34f56e2 commit 347d1f6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion Core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function PT:OnEnable()

print("|cff00aaff"..AddonName.."|r: loaded.");

_G.SlashCmdList["PT"] = function() _G.InterfaceOptionsFrame_OpenToCategory(AddonName); end
_G.SlashCmdList["PT"] = function() Settings.OpenToCategory(AddonName); end
_G["SLASH_PT1"] = "/pt";

-- version check and reminder that the user may want to check the options
Expand Down
1 change: 0 additions & 1 deletion Modules/FrameCombatDisplay.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1426,7 +1426,6 @@ end);
-- called by the "edit positions" button in the config window
local function OpenPositioning()
LibStub("AceConfigDialog-3.0"):Open("PokemonTrainer_FrameCombatDisplay", container); -- container == our custom AceGUI container
_G.InterfaceOptionsFrame:Hide();

if( not _G.C_PetBattles.IsInBattle() ) then
PT:ScanDummyPets();
Expand Down

0 comments on commit 347d1f6

Please sign in to comment.