refactoring

This commit is contained in:
Manuel Simon Hirsig
2016-08-30 02:24:04 +02:00
parent f409ea6f43
commit 4fffe08847
3 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ function public:complete_filter()
local filter_string = this:GetText()
local completed_filter_string = select(3, strfind(filter_string, '([^;]*)/[^/;]*$'))
local _, suggestions = filter_util.query(completed_filter_string or '')
local _, suggestions = filter_util.query(completed_filter_string)
local start_index, _, current_modifier = strfind(filter_string, '([^/;]*)$')
current_modifier = current_modifier or ''