Skip to content

Commit 8e57ab6

Browse files
committed
fix an error for some specific popup frames
1 parent e48a680 commit 8e57ab6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ local instanceLogMatches = {
289289
--- @return Frame|nil|false # The button to click, nil if no button should be clicked, false if the text is empty and should be checked again later
290290
function DialogKey:GetPopupButton(popupFrame)
291291
local fontString = popupFrame.GetTextFontString and popupFrame:GetTextFontString() or popupFrame.text
292-
local text = fontString:GetText()
292+
local text = fontString and fontString:GetText()
293293
local button1, button2
294294
if popupFrame.GetButtons then
295295
button1, button2 = unpack(popupFrame:GetButtons())

0 commit comments

Comments
 (0)