filter tab bugfix/refactoring

This commit is contained in:
Manuel Simon Hirsig
2016-11-20 14:12:36 +01:00
parent b2f49efea9
commit 759bfc0045
3 changed files with 25 additions and 28 deletions
+3 -3
View File
@@ -434,7 +434,7 @@ do
_G[dropdown:GetName() .. 'Text']:Hide()
local label = gui.label(dropdown, gui.font_size.medium)
label:SetPoint('RIGHT', dropdown, 'LEFT', -15, 0)
label:SetText('Post Filter')
label:SetText('Component')
filter_dropdown = dropdown
end
do
@@ -459,7 +459,7 @@ do
if filter_parameter_input:IsVisible() then
filter_parameter_input:SetFocus()
else
add_post_filter()
add_form_component()
end
end
filter_input = input
@@ -472,7 +472,7 @@ do
filter_input:SetFocus()
end)
input.char = function() this:complete() end
input.enter = add_post_filter
input.enter = add_form_component
input:Hide()
filter_parameter_input = input
end