diff options
Diffstat (limited to 'src/gui/SubgraphModule.cpp')
-rw-r--r-- | src/gui/SubgraphModule.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/SubgraphModule.cpp b/src/gui/SubgraphModule.cpp index 4860098e..215521da 100644 --- a/src/gui/SubgraphModule.cpp +++ b/src/gui/SubgraphModule.cpp @@ -71,8 +71,10 @@ SubgraphModule::store_location(double ax, double ay) y != _block->get_property(uris.ingen_canvasY)) { Resource::Properties remove; - remove.insert(make_pair(uris.ingen_canvasX, uris.wildcard)); - remove.insert(make_pair(uris.ingen_canvasY, uris.wildcard)); + remove.insert(make_pair(uris.ingen_canvasX, + Resource::Property(uris.wildcard))); + remove.insert(make_pair(uris.ingen_canvasY, + Resource::Property(uris.wildcard))); Resource::Properties add; add.insert(make_pair(uris.ingen_canvasX, Resource::Property(x, Resource::EXTERNAL))); |