diff options
author | David Robillard <d@drobilla.net> | 2014-08-09 04:23:18 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-08-09 04:23:18 +0000 |
commit | 42347b5c859a77eb99af1c718b48170b0672dc5e (patch) | |
tree | c77c9567d64623a2df9f674a3c8791ded2dbb033 /src/gui/GraphView.cpp | |
parent | ed2d6f395dd6363f1955512b3f20cf3f39954783 (diff) | |
download | ingen-42347b5c859a77eb99af1c718b48170b0672dc5e.tar.gz ingen-42347b5c859a77eb99af1c718b48170b0672dc5e.tar.bz2 ingen-42347b5c859a77eb99af1c718b48170b0672dc5e.zip |
Fix GUI updates after operations by emulating set feedback.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5445 a436a847-0d15-0410-975c-d299462d15a1
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)); } } |