diff options
Diffstat (limited to 'src/gui/GraphView.cpp')
-rw-r--r-- | src/gui/GraphView.cpp | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/gui/GraphView.cpp b/src/gui/GraphView.cpp index 444075b9..001d1faf 100644 --- a/src/gui/GraphView.cpp +++ b/src/gui/GraphView.cpp @@ -121,10 +121,9 @@ GraphView::process_toggled() if (!_enable_signal) return; - _app->interface()->set_property( - _graph->uri(), - _app->uris().ingen_enabled, - _app->forge().make((bool)_process_but->get_active())); + _app->set_property(_graph->uri(), + _app->uris().ingen_enabled, + _app->forge().make((bool)_process_but->get_active())); } void @@ -132,10 +131,9 @@ GraphView::poly_changed() { const int poly = _poly_spin->get_value_as_int(); if (_enable_signal && poly != (int)_graph->internal_poly()) { - _app->interface()->set_property( - _graph->uri(), - _app->uris().ingen_polyphony, - _app->forge().make(poly)); + _app->set_property(_graph->uri(), + _app->uris().ingen_polyphony, + _app->forge().make(poly)); } } |