diff options
Diffstat (limited to 'src/Builder.cpp')
-rw-r--r-- | src/Builder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Builder.cpp b/src/Builder.cpp index f0edd438..49f5d76b 100644 --- a/src/Builder.cpp +++ b/src/Builder.cpp @@ -41,7 +41,7 @@ Builder::build(SharedPtr<const GraphObject> object) void Builder::connect(SharedPtr<const GraphObject> object) { - if (object->graph_type() == GraphObject::PATCH) { + if (object->graph_type() == GraphObject::GRAPH) { for (GraphObject::Edges::const_iterator i = object->edges().begin(); i != object->edges().end(); ++i) { _interface.connect(i->second->tail_path(), i->second->head_path()); |