diff options
Diffstat (limited to 'src/gui/NewSubpatchWindow.cpp')
-rw-r--r-- | src/gui/NewSubpatchWindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/NewSubpatchWindow.cpp b/src/gui/NewSubpatchWindow.cpp index 504bc506..ad0b6e42 100644 --- a/src/gui/NewSubpatchWindow.cpp +++ b/src/gui/NewSubpatchWindow.cpp @@ -99,8 +99,8 @@ NewSubpatchWindow::ok_clicked() // Create patch Resource::Properties props; props.insert(make_pair(_app->uris().rdf_type, _app->uris().ingen_Patch)); - props.insert(make_pair(_app->uris().ingen_polyphony, Atom(int32_t(poly)))); - props.insert(make_pair(_app->uris().ingen_enabled, Atom(bool(true)))); + props.insert(make_pair(_app->uris().ingen_polyphony, _app->forge().make(int32_t(poly)))); + props.insert(make_pair(_app->uris().ingen_enabled, _app->forge().make(bool(true)))); _app->engine()->put(path, props, Resource::INTERNAL); // Set external (node perspective) properties |