diff options
author | David Robillard <d@drobilla.net> | 2009-05-27 23:21:34 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-05-27 23:21:34 +0000 |
commit | 2f595631859574bfa7779ebb42f42b8590f5424c (patch) | |
tree | c91c0cddcd93af991161c6cde4eceaaf45c5c8d5 /src/gui/PatchView.cpp | |
parent | 20ff9af76b21b751ac29b354cf557e86b69c52f7 (diff) | |
download | ingen-2f595631859574bfa7779ebb42f42b8590f5424c.tar.gz ingen-2f595631859574bfa7779ebb42f42b8590f5424c.tar.bz2 ingen-2f595631859574bfa7779ebb42f42b8590f5424c.zip |
Remove 'property' vs 'variable' dichotomy in favour of 'meta objects' (to match serialisation).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2016 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/PatchView.cpp')
-rw-r--r-- | src/gui/PatchView.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gui/PatchView.cpp b/src/gui/PatchView.cpp index e0c97bcf..812c3115 100644 --- a/src/gui/PatchView.cpp +++ b/src/gui/PatchView.cpp @@ -90,7 +90,6 @@ PatchView::set_patch(SharedPtr<PatchModel> patch) property_changed(i->first, i->second); // Connect model signals to track state - patch->signal_variable.connect(sigc::mem_fun(this, &PatchView::property_changed)); patch->signal_property.connect(sigc::mem_fun(this, &PatchView::property_changed)); // Connect widget signals to do things @@ -201,7 +200,7 @@ PatchView::process_toggled() if (!_enable_signal) return; - App::instance().engine()->set_variable(_patch->path(), "ingen:enabled", + App::instance().engine()->set_property(_patch->path(), "ingen:enabled", (bool)_process_but->get_active()); } @@ -209,7 +208,7 @@ PatchView::process_toggled() void PatchView::poly_changed() { - App::instance().engine()->set_property(_patch->path(), "ingen:polyphony", + App::instance().engine()->set_property(_patch->meta().uri(), "ingen:polyphony", _poly_spin->get_value_as_int()); } |