summaryrefslogtreecommitdiff
path: root/modules/navigation/nav_link.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/navigation/nav_link.h')
-rw-r--r--modules/navigation/nav_link.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/navigation/nav_link.h b/modules/navigation/nav_link.h
index 8f51a63951..e9c69286f9 100644
--- a/modules/navigation/nav_link.h
+++ b/modules/navigation/nav_link.h
@@ -43,6 +43,10 @@ class NavLink : public NavBase {
bool link_dirty = true;
public:
+ NavLink() {
+ type = NavigationUtilities::PathSegmentType::PATH_SEGMENT_TYPE_LINK;
+ }
+
void set_map(NavMap *p_map);
NavMap *get_map() const {
return map;