diff options
author | David Robillard <d@drobilla.net> | 2008-12-02 05:49:41 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-12-02 05:49:41 +0000 |
commit | cb42d2cc4daa09c7d1db5515e39e94b9a5a43447 (patch) | |
tree | fa903dc4954836d0a3dbf4f6d43dc7c1b17784c4 /src/gui/LoadRemotePatchWindow.cpp | |
parent | 5c150e73611323d739cc4a29d7f6ba529f136f87 (diff) | |
download | ingen-cb42d2cc4daa09c7d1db5515e39e94b9a5a43447.tar.gz ingen-cb42d2cc4daa09c7d1db5515e39e94b9a5a43447.tar.bz2 ingen-cb42d2cc4daa09c7d1db5515e39e94b9a5a43447.zip |
Rewrite pretty much everything to do with paths in Serialiser to actually make an ounce of sense.
Fix various things with nested patches (fix tickets #286 #289).
Cascade successive pastes nicely.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1840 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/LoadRemotePatchWindow.cpp')
-rw-r--r-- | src/gui/LoadRemotePatchWindow.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gui/LoadRemotePatchWindow.cpp b/src/gui/LoadRemotePatchWindow.cpp index c2979e80..dab1cd0e 100644 --- a/src/gui/LoadRemotePatchWindow.cpp +++ b/src/gui/LoadRemotePatchWindow.cpp @@ -134,8 +134,6 @@ LoadRemotePatchWindow::open_clicked() { Glib::ustring uri = _uri_entry->get_text(); - cerr << "OPEN URI: " << uri << endl; - // If unset load_patch will load values optional<Path> parent; optional<Symbol> symbol; @@ -146,8 +144,8 @@ LoadRemotePatchWindow::open_clicked() if (_patch->path() != "/") parent = _patch->path().parent(); - App::instance().loader()->load_patch(true, uri, "/", - _initial_data, parent, symbol); + App::instance().loader()->load_patch(true, uri, Path("/"), + parent, symbol, _initial_data); hide(); } |