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