Thread Tools Display Modes
08-14-15, 07:43 AM   #1
Deadlyz
A Wyrmkin Dreamwalker
 
Deadlyz's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2010
Posts: 55
Type DELETE!

Is there any addon that allows deleting epic/blue items without typing anything?

I'm really lazy.
__________________

My last movie: Rogue Sweethearts
  Reply With Quote
08-14-15, 09:19 AM   #2
bsmorgan
A Cobalt Mageweaver
AddOn Author - Click to view addons
Join Date: Mar 2005
Posts: 219
I too am annoyed by the type DELETE dialog but I'd be careful eliminating the dialog completely. I believe a simple confirmation dialog (i.e. OK or Cancel) would be adequate.
  Reply With Quote
08-14-15, 01:24 PM   #3
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,710
Lua Code:
  1. StaticPopupDialogs.DELETE_GOOD_ITEM.hasEditBox = false
  2. StaticPopupDialogs.DELETE_GOOD_ITEM.OnShow = function(self)
  3.     self.button1:Enable()
  4. end
  Reply With Quote
08-15-15, 12:00 AM   #4
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
And if you want to be even lazier and just press Enter instead of moving the mouse to click, you can add:

Code:
StaticPopupDialogs.DELETE_GOOD_ITEM.enterClicksFirstButton = 1
__________________
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.
  Reply With Quote
08-15-15, 12:57 AM   #5
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,313
I'd honestly just sync it with StaticPopupDialogs["DELETE_ITEM"].
Code:
StaticPopupDialogs.DELETE_GOOD_ITEM=StaticPopupDialogs.DELETE_ITEM
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
  Reply With Quote
08-15-15, 03:29 AM   #6
Deadlyz
A Wyrmkin Dreamwalker
 
Deadlyz's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2010
Posts: 55
Nice, thanks!

Now how do I make it into an addon?
__________________

My last movie: Rogue Sweethearts
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Search/Requests » Type DELETE!

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off