From 0aaae8b002fcff9fdd81a6155c609a546f68b938 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 3 Jul 2006 17:46:19 +0000 Subject: Enabled checkbox on patch windows working git-svn-id: http://svn.drobilla.net/lad/ingen@79 a436a847-0d15-0410-975c-d299462d15a1 --- src/progs/ingenuity/PatchController.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/progs/ingenuity/PatchController.cpp') diff --git a/src/progs/ingenuity/PatchController.cpp b/src/progs/ingenuity/PatchController.cpp index 44275cd8..93603a12 100644 --- a/src/progs/ingenuity/PatchController.cpp +++ b/src/progs/ingenuity/PatchController.cpp @@ -248,7 +248,7 @@ PatchController::set_path(const Path& new_path) parent->patch_model()->rename_node(old_path, new_path); } - +#if 0 void PatchController::enable() { @@ -271,7 +271,7 @@ PatchController::disable() App::instance().patch_tree()->patch_disabled(m_model->path()); } - +#endif void PatchController::create_module(OmFlowCanvas* canvas) @@ -367,7 +367,8 @@ PatchController::create_view() } // Set run checkbox - m_patch_view->enabled(patch_model()->enabled()); + if (patch_model()->enabled()) + m_patch_view->enable(); } -- cgit v1.2.1