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