diff options
Diffstat (limited to 'src/libs/gui/NewSubpatchWindow.cpp')
-rw-r--r-- | src/libs/gui/NewSubpatchWindow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libs/gui/NewSubpatchWindow.cpp b/src/libs/gui/NewSubpatchWindow.cpp index 54a0abb9..69c8471e 100644 --- a/src/libs/gui/NewSubpatchWindow.cpp +++ b/src/libs/gui/NewSubpatchWindow.cpp @@ -43,7 +43,7 @@ NewSubpatchWindow::NewSubpatchWindow(BaseObjectType* cobject, const Glib::RefPtr } void -NewSubpatchWindow::present(SharedPtr<PatchModel> patch, GraphObject::MetadataMap data) +NewSubpatchWindow::present(SharedPtr<PatchModel> patch, GraphObject::Variables data) { set_patch(patch); _initial_data = data; @@ -91,8 +91,8 @@ NewSubpatchWindow::ok_clicked() const uint32_t poly = _poly_spinbutton->get_value_as_int(); App::instance().engine()->create_patch(path, poly); - for (GraphObject::MetadataMap::const_iterator i = _initial_data.begin(); i != _initial_data.end(); ++i) - App::instance().engine()->set_metadata(path, i->first, i->second); + for (GraphObject::Variables::const_iterator i = _initial_data.begin(); i != _initial_data.end(); ++i) + App::instance().engine()->set_variable(path, i->first, i->second); App::instance().engine()->enable_patch(path); |