minor searchbox changes
This commit is contained in:
@@ -191,8 +191,8 @@ function import_filter_string()
|
|||||||
end
|
end
|
||||||
|
|
||||||
function export_filter_string()
|
function export_filter_string()
|
||||||
|
search_box:SetFocus()
|
||||||
search_box:SetText(get_filter_builder_query())
|
search_box:SetText(get_filter_builder_query())
|
||||||
filter_parameter_input:ClearFocus()
|
|
||||||
end
|
end
|
||||||
|
|
||||||
function formatted_post_filter(components)
|
function formatted_post_filter(components)
|
||||||
|
|||||||
@@ -47,8 +47,10 @@ handlers = {
|
|||||||
OnClick = function(st, data, _, button)
|
OnClick = function(st, data, _, button)
|
||||||
if not data then return end
|
if not data then return end
|
||||||
if button == 'LeftButton' and IsShiftKeyDown() then
|
if button == 'LeftButton' and IsShiftKeyDown() then
|
||||||
|
search_box:SetFocus()
|
||||||
search_box:SetText(data.search.filter_string)
|
search_box:SetText(data.search.filter_string)
|
||||||
elseif button == 'RightButton' and IsShiftKeyDown() then
|
elseif button == 'RightButton' and IsShiftKeyDown() then
|
||||||
|
search_box:SetFocus()
|
||||||
add_filter(data.search.filter_string)
|
add_filter(data.search.filter_string)
|
||||||
elseif button == 'LeftButton' then
|
elseif button == 'LeftButton' then
|
||||||
search_box:SetText(data.search.filter_string)
|
search_box:SetText(data.search.filter_string)
|
||||||
|
|||||||
Reference in New Issue
Block a user