Fixed: Filtered user landmarks became visible when landmark was edited/removed.
--HG-- branch : develop
This commit is contained in:
parent
4cca062177
commit
a62c8eefd4
1 changed files with 4 additions and 0 deletions
|
@ -2574,6 +2574,10 @@ void CGroupMap::updateUserLandMarks()
|
||||||
worldToMap(mapPos, _CurContinent->UserLandMarks[k].Pos);
|
worldToMap(mapPos, _CurContinent->UserLandMarks[k].Pos);
|
||||||
|
|
||||||
addLandMark(_UserLM, mapPos, _CurContinent->UserLandMarks[k].Title, getUserLandMarkOptions(k));
|
addLandMark(_UserLM, mapPos, _CurContinent->UserLandMarks[k].Title, getUserLandMarkOptions(k));
|
||||||
|
|
||||||
|
// hide landmark if not matching filter
|
||||||
|
if (!filterLandmark(_CurContinent->UserLandMarks[k].Title))
|
||||||
|
_UserLM.back()->setActive(false);
|
||||||
}
|
}
|
||||||
invalidateCoords();
|
invalidateCoords();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue