Skip to content

Commit 6d6cf76

Browse files
committed
Invisible OK buttons on popups will no longer be clicked
1 parent 9d64c24 commit 6d6cf76

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
@@ -326,7 +326,7 @@ function DialogKey:GetPopupButton(popupFrame)
326326
end
327327
end
328328

329-
return popupFrame.button1
329+
return popupFrame.button1:IsVisible() and popupFrame.button1
330330
end
331331

332332
-- Clears all override bindings associated with an owner, clears all override bindings if no owner is passed

0 commit comments

Comments
 (0)