Commit 949272fd authored by Claes Sjofors's avatar Claes Sjofors

Ge subgraph methodtoolbar should always be intern

parent 91585a52
...@@ -449,6 +449,10 @@ int SubGraphs::object_attr() ...@@ -449,6 +449,10 @@ int SubGraphs::object_attr()
grow_GetNodeClassName(*list_p, name, sizeof(name)); grow_GetNodeClassName(*list_p, name, sizeof(name));
if (streq("mbtoolbar", name)) {
list_p++;
continue;
}
new ItemSubGraph( new ItemSubGraph(
this, name, extern_p, *list_p, grow_ctx, NULL, flow_eDest_IntoLast); this, name, extern_p, *list_p, grow_ctx, NULL, flow_eDest_IntoLast);
list_p++; list_p++;
......
...@@ -38,6 +38,7 @@ ...@@ -38,6 +38,7 @@
#define glow_nodeclass_h #define glow_nodeclass_h
#include "glow_point.h" #include "glow_point.h"
#include "co_string.h"
/*! \file glow_nodeclass.h /*! \file glow_nodeclass.h
\brief Contains the GlowNodeClass class. */ \brief Contains the GlowNodeClass class. */
...@@ -363,6 +364,9 @@ public: ...@@ -363,6 +364,9 @@ public:
*/ */
void set_extern(int ext) void set_extern(int ext)
{ {
if (streq(n_name, "mbtoolbar"))
return;
nc_extern = ext; nc_extern = ext;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment