Skip to content

Commit

Permalink
DF Settings Panel fix
Browse files Browse the repository at this point in the history
  • Loading branch information
d87 committed Jul 12, 2023
1 parent 27dfdbd commit 925872d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .luacheckrc
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ globals = {
"CreateFrame",
"CombatLogGetCurrentEventInfo",
"InterfaceOptionsFrame",
"SettingsPanel",
"CopyTable",
"GetSpellInfo",
"CreateFramePool",
Expand Down
2 changes: 1 addition & 1 deletion NugPlateAuras-Mainline.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 100002
## Interface: 100105

## Title: NugPlateAuras
## SavedVariables: NugPlateAurasDB
Expand Down
2 changes: 1 addition & 1 deletion NugPlateAuras-Wrath.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 30400
## Interface: 30402

## Title: NugPlateAuras
## SavedVariables: NugPlateAurasDB
Expand Down
2 changes: 1 addition & 1 deletion NugPlateAuras.lua
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ function NugPlateAuras.SlashCmd(msg)
end

function NugPlateAuras:HookOptionsFrame()
CreateFrame('Frame', nil, InterfaceOptionsFrame):SetScript('OnShow', function(frame)
CreateFrame('Frame', nil, SettingsPanel or InterfaceOptionsFrame):SetScript('OnShow', function(frame)
frame:SetScript('OnShow', nil)

if not self.optionsPanel then
Expand Down
2 changes: 1 addition & 1 deletion NugPlateAuras.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 100002
## Interface: 100105

## Title: NugPlateAuras
## SavedVariables: NugPlateAurasDB
Expand Down

0 comments on commit 925872d

Please sign in to comment.