right clicking start to refresh
This commit is contained in:
@@ -51,7 +51,11 @@ function Aux.search_frame.create_frames(private, public)
|
|||||||
btn:SetWidth(70)
|
btn:SetWidth(70)
|
||||||
btn:SetHeight(25)
|
btn:SetHeight(25)
|
||||||
btn:SetText('Start')
|
btn:SetText('Start')
|
||||||
|
btn:RegisterForClicks('LeftButtonUp', 'RightButtonUp')
|
||||||
btn:SetScript('OnClick', function()
|
btn:SetScript('OnClick', function()
|
||||||
|
if arg1 == 'RightButton' then
|
||||||
|
public.set_filter(private.current_search().filter_string)
|
||||||
|
end
|
||||||
public.execute()
|
public.execute()
|
||||||
end)
|
end)
|
||||||
private.start_button = btn
|
private.start_button = btn
|
||||||
|
|||||||
Reference in New Issue
Block a user