diff options
author | David Robillard <d@drobilla.net> | 2012-08-12 02:21:39 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-08-12 02:21:39 +0000 |
commit | caea04d25727267349b43a17b5b0bd99c7dc6af4 (patch) | |
tree | 93117a1bdaf0f0966253d0589985facf7c2c9b4d /src | |
parent | 019e71b8aed39251fd0b7596ed80162c13694d0e (diff) | |
download | ingen-caea04d25727267349b43a17b5b0bd99c7dc6af4.tar.gz ingen-caea04d25727267349b43a17b5b0bd99c7dc6af4.tar.bz2 ingen-caea04d25727267349b43a17b5b0bd99c7dc6af4.zip |
Fix loading patches from GUI (fix #851).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4662 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/LoadPatchWindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/LoadPatchWindow.cpp b/src/gui/LoadPatchWindow.cpp index 7d23f5d9..add13996 100644 --- a/src/gui/LoadPatchWindow.cpp +++ b/src/gui/LoadPatchWindow.cpp @@ -170,11 +170,11 @@ LoadPatchWindow::ok_clicked() symbol = _patch->symbol(); } - _app->loader()->load_patch(true, get_uri(), + _app->loader()->load_patch(true, get_filename(), parent, symbol, _initial_data); } else { - std::list<Glib::ustring> uri_list = get_uris(); + std::list<Glib::ustring> uri_list = get_filenames(); for (std::list<Glib::ustring>::iterator i = uri_list.begin(); i != uri_list.end(); ++i) { // Cascade Atom& x = _initial_data.find(uris.ingen_canvasX)->second; |