mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-25 02:10:53 +00:00
Fixed: Crash when trying to navigate to non-existing #anchor
This commit is contained in:
parent
661473d9cd
commit
ea95d93fac
1 changed files with 5 additions and 0 deletions
|
@ -5220,6 +5220,11 @@ namespace NLGUI
|
||||||
|
|
||||||
void CGroupHTML::doBrowseAnchor(const std::string &anchor)
|
void CGroupHTML::doBrowseAnchor(const std::string &anchor)
|
||||||
{
|
{
|
||||||
|
if (_Anchors.count(anchor) == 0)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
CInterfaceElement *pIE = _Anchors.find(anchor)->second;
|
CInterfaceElement *pIE = _Anchors.find(anchor)->second;
|
||||||
if (pIE)
|
if (pIE)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue