View Single Post
03-24-13, 02:52 PM   #18
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
The solution Leatrix posted is cleaner, but I've been running a mini-addon with your solution + that code I posted disabling the Raid Profiles panel from being clicked, and haven't seen any of the usual taint errors in BugSack.

Edit:
Since Leatrix has deleted his entire forum posting history for some (annoying) reason, here is the code he had posted to resolve the issue discussed in this thread by removing the Cancel button from the Interface Options window:

Code:
-- Remove the cancel button
InterfaceOptionsFrameCancel:Hide()
InterfaceOptionsFrameOkay:SetAllPoints(InterfaceOptionsFrameCancel)

-- Make clicking cancel the same as clicking okay
InterfaceOptionsFrameCancel:SetScript("OnClick", function()
	InterfaceOptionsFrameOkay:Click()
end)
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.

Last edited by Phanx : 07-21-13 at 01:46 AM.
  Reply With Quote