diff options
Diffstat (limited to 'src/gui/PatchCanvas.cpp')
-rw-r--r-- | src/gui/PatchCanvas.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/PatchCanvas.cpp b/src/gui/PatchCanvas.cpp index 0e1c6fbc..3ee6e3cb 100644 --- a/src/gui/PatchCanvas.cpp +++ b/src/gui/PatchCanvas.cpp @@ -696,7 +696,6 @@ PatchCanvas::paste() if (!_patch->path().is_root()) clipboard.put(_patch->path(), props); - boost::optional<Raul::Path> data_path; boost::optional<Raul::Path> parent; boost::optional<Raul::Symbol> symbol; @@ -705,7 +704,7 @@ PatchCanvas::paste() } ClashAvoider avoider(*App::instance().store().get(), clipboard, &clipboard); - parser->parse_string(App::instance().world(), &avoider, str, Path().str(), data_path, + parser->parse_string(App::instance().world(), &avoider, str, Path().str(), parent, symbol); for (Store::iterator i = clipboard.begin(); i != clipboard.end(); ++i) { |