small bugfix, can now rightclick editboxes to clear the content

This commit is contained in:
Manuel Simon Hirsig
2016-10-13 18:11:40 +02:00
parent be7271ac8c
commit 83e8c24c46
4 changed files with 36 additions and 12 deletions
+4
View File
@@ -113,6 +113,7 @@ do
editbox:SetPoint('RIGHT', start_button, 'LEFT', -4, 0)
editbox:SetWidth(40)
editbox:SetHeight(25)
editbox:SetAlignment'CENTER'
editbox:SetNumeric(true)
editbox:SetScript('OnTabPressed', function() first_page_input:SetFocus() end)
editbox.enter = execute
@@ -124,6 +125,7 @@ do
editbox:SetPoint('RIGHT', last_page_input, 'LEFT', -5.8, 0)
editbox:SetWidth(40)
editbox:SetHeight(25)
editbox:SetAlignment'CENTER'
editbox:SetNumeric(true)
editbox:SetScript('OnTabPressed', function() last_page_input:SetFocus() end)
editbox.enter = execute
@@ -289,6 +291,7 @@ do
local editbox = gui.editbox(frame.filter)
editbox:SetPoint('TOPLEFT', name_input, 'BOTTOMLEFT', 0, -FILTER_SPACING)
editbox:SetWidth(125)
editbox:SetAlignment'CENTER'
editbox:SetNumeric(true)
editbox:SetScript('OnTabPressed', function()
if IsShiftKeyDown() then
@@ -314,6 +317,7 @@ do
local editbox = gui.editbox(frame.filter)
editbox:SetPoint('TOPLEFT', min_level_input, 'TOPRIGHT', 10, 0)
editbox:SetWidth(125)
editbox:SetAlignment'CENTER'
editbox:SetNumeric(true)
editbox:SetScript('OnTabPressed', function()
if IsShiftKeyDown() then