From 24ac8b67d8cc1e4e924c696dc72ac59c199b099e Mon Sep 17 00:00:00 2001 From: Manuel Simon Hirsig Date: Sat, 16 Jul 2016 00:05:31 +0200 Subject: [PATCH] bugfix --- tabs/post/frames.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tabs/post/frames.lua b/tabs/post/frames.lua index 4ee06ad..868395c 100644 --- a/tabs/post/frames.lua +++ b/tabs/post/frames.lua @@ -118,7 +118,11 @@ Aux.post_tab.FRAMES(function(m, public, private) btn:SetWidth(80) btn:SetHeight(24) btn:SetText('Refresh') --- btn:SetScript('OnClick', m.refresh) TODO + btn:SetScript('OnClick', function() + Aux.scan.abort(m.scan_id) + m.refresh_entries() + m.refresh = true + end) private.refresh_button = btn end do