fixed % symbol crash in search bar (options menu)
This commit is contained in:
parent
1c7c5142f0
commit
0c885a5992
1 changed files with 2 additions and 0 deletions
|
@ -2388,6 +2388,8 @@ VMFOptionsView.update_search_bar = function (self)
|
||||||
|
|
||||||
local new_search_text = KeystrokeHelper.parse_strokes(old_search_text, text_index, "insert", keystrokes)
|
local new_search_text = KeystrokeHelper.parse_strokes(old_search_text, text_index, "insert", keystrokes)
|
||||||
|
|
||||||
|
new_search_text = string.gsub(new_search_text, "%%", "")
|
||||||
|
|
||||||
if new_search_text ~= old_search_text then
|
if new_search_text ~= old_search_text then
|
||||||
self:filter_mods_settings_by_name(new_search_text)
|
self:filter_mods_settings_by_name(new_search_text)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue