summaryrefslogtreecommitdiffstats
path: root/src/gui/PatchWindow.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-04-05 02:38:40 +0000
committerDavid Robillard <d@drobilla.net>2012-04-05 02:38:40 +0000
commitabcc960e3a6a41973e8cd66fc528faf76745ffb8 (patch)
tree9d0f1674ad56b3de2f37ddb86119780f08a06da6 /src/gui/PatchWindow.cpp
parentaa399711b4d87d9fbe9b116559aff5271177d416 (diff)
downloadingen-abcc960e3a6a41973e8cd66fc528faf76745ffb8.tar.gz
ingen-abcc960e3a6a41973e8cd66fc528faf76745ffb8.tar.bz2
ingen-abcc960e3a6a41973e8cd66fc528faf76745ffb8.zip
Fix subpatch creation (fix #826).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4144 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/PatchWindow.cpp')
-rw-r--r--src/gui/PatchWindow.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/gui/PatchWindow.cpp b/src/gui/PatchWindow.cpp
index 6b3bc7a6..526b7fec 100644
--- a/src/gui/PatchWindow.cpp
+++ b/src/gui/PatchWindow.cpp
@@ -56,20 +56,6 @@ PatchWindow::init_window(App& app)
}
void
-PatchWindow::set_patch_from_path(const Raul::Path& path, SharedPtr<PatchView> view)
-{
- if (view) {
- assert(view->patch()->path() == path);
- _app->window_factory()->present_patch(view->patch(), this, view);
- } else {
- SharedPtr<const PatchModel> model = PtrCast<const PatchModel>(
- _app->store()->object(path));
- if (model)
- _app->window_factory()->present_patch(model, this);
- }
-}
-
-void
PatchWindow::on_show()
{
if (_position_stored)