summaryrefslogtreecommitdiffstats
path: root/src/progs/gtk/LoadSubpatchWindow.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-06-11 03:17:16 +0000
committerDavid Robillard <d@drobilla.net>2006-06-11 03:17:16 +0000
commit228279d6717e69ffd2d2a886244179635ac27c2b (patch)
treed8a25007daeda686f07aefc8b5fcc9486040c536 /src/progs/gtk/LoadSubpatchWindow.cpp
parent9a3d8d0604a2f81e3514e8a1a30aaf41aadf73a2 (diff)
downloadingen-228279d6717e69ffd2d2a886244179635ac27c2b.tar.gz
ingen-228279d6717e69ffd2d2a886244179635ac27c2b.tar.bz2
ingen-228279d6717e69ffd2d2a886244179635ac27c2b.zip
Got store working directly through SigClientInterface
git-svn-id: http://svn.drobilla.net/lad/grauph@22 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/progs/gtk/LoadSubpatchWindow.cpp')
-rw-r--r--src/progs/gtk/LoadSubpatchWindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/progs/gtk/LoadSubpatchWindow.cpp b/src/progs/gtk/LoadSubpatchWindow.cpp
index fe02d772..1c8f8fe2 100644
--- a/src/progs/gtk/LoadSubpatchWindow.cpp
+++ b/src/progs/gtk/LoadSubpatchWindow.cpp
@@ -128,7 +128,7 @@ void
LoadSubpatchWindow::ok_clicked()
{
assert(m_patch_controller != NULL);
- assert(m_patch_controller->model() != NULL);
+ assert(m_patch_controller->model());
// These values are interpreted by load_patch() as "not defined", ie load from file
string name = "";
@@ -149,7 +149,7 @@ LoadSubpatchWindow::ok_clicked()
PatchModel* pm = new PatchModel(m_patch_controller->model()->base_path() + name, poly);
pm->filename(get_filename());
- pm->set_parent(m_patch_controller->model());
+ pm->set_parent(m_patch_controller->model().get());
pm->x(m_new_module_x);
pm->y(m_new_module_y);
if (name == "")