diff options
author | David Robillard <d@drobilla.net> | 2006-07-03 17:46:19 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2006-07-03 17:46:19 +0000 |
commit | 0aaae8b002fcff9fdd81a6155c609a546f68b938 (patch) | |
tree | 452897c7b6507d15e85382845bda71e66a3803d8 /src/progs/ingenuity/PatchController.cpp | |
parent | 03aa3b084fe3d97f62b67867085c04a23402397e (diff) | |
download | ingen-0aaae8b002fcff9fdd81a6155c609a546f68b938.tar.gz ingen-0aaae8b002fcff9fdd81a6155c609a546f68b938.tar.bz2 ingen-0aaae8b002fcff9fdd81a6155c609a546f68b938.zip |
Enabled checkbox on patch windows working
git-svn-id: http://svn.drobilla.net/lad/ingen@79 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/progs/ingenuity/PatchController.cpp')
-rw-r--r-- | src/progs/ingenuity/PatchController.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
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(); } |