From caea04d25727267349b43a17b5b0bd99c7dc6af4 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 12 Aug 2012 02:21:39 +0000 Subject: Fix loading patches from GUI (fix #851). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4662 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/LoadPatchWindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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 uri_list = get_uris(); + std::list uri_list = get_filenames(); for (std::list::iterator i = uri_list.begin(); i != uri_list.end(); ++i) { // Cascade Atom& x = _initial_data.find(uris.ingen_canvasX)->second; -- cgit v1.2.1