mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
#SET_GROUP - small fix for FilterPrefixes compute
This commit is contained in:
parent
016875d724
commit
0d481afa16
@ -2027,7 +2027,7 @@ do
|
||||
local MGroupPrefix = false
|
||||
for GroupPrefixId, GroupPrefix in pairs( self.Filter.GroupPrefixes ) do
|
||||
--self:I( { "Prefix:", MGroup:GetName(), GroupPrefix } )
|
||||
if string.find( string.lower(MGroup:GetName()), string.lower(GroupPrefix), 1 ) or string.find( string.lower(MGroup:GetName()), string.lower(GroupPrefix), 1, true ) then
|
||||
if string.find(MGroup:GetName(), string.gsub(GroupPrefix,"-","%%-"),1) then
|
||||
MGroupPrefix = true
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user