File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -343,11 +343,11 @@ bool AlertRule::match(const DxSpot &spot) const
343
343
&& (sourceMap & SpotAlert::DXSPOT)
344
344
&& (dxCountry == 0 || dxCountry == spot.dxcc .dxcc )
345
345
&& (spot.status & dxLogStatusMap)
346
- && (mode == " *" || mode.contains (" |" + spot.modeGroupString ))
346
+ && (mode == " *" || (!spot. modeGroupString . isEmpty () && mode.contains (" |" + spot.modeGroupString ) ))
347
347
&& (band == " *" || (!spot.band .isEmpty () && band.contains (" |" + spot.band )))
348
348
&& (spotterCountry == 0 || spotterCountry == spot.dxcc_spotter .dxcc )
349
- && (dxContinent == " *" || dxContinent.contains (" |" + spot.dxcc .cont ))
350
- && (spotterContinent == " *" || spotterContinent.contains (" |" + spot.dxcc_spotter .cont ))
349
+ && (dxContinent == " *" || (!spot. dxcc . cont . isEmpty () && dxContinent.contains (" |" + spot.dxcc .cont ) ))
350
+ && (spotterContinent == " *" || (!spot. dxcc_spotter . cont . isEmpty () && spotterContinent.contains (" |" + spot.dxcc_spotter .cont ) ))
351
351
&& (dxMember == QStringList (" *" ) || spot.memberList2Set ().intersects (dxMemberSet))
352
352
)
353
353
{
You can’t perform that action at this time.
0 commit comments