From 3265e8f01cd4e878661973730349a5ed44329713 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 2 Feb 2013 16:58:42 +0000 Subject: More generic Atom class. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5024 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/GraphView.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/GraphView.cpp') diff --git a/src/gui/GraphView.cpp b/src/gui/GraphView.cpp index 54e42372..a74a11bf 100644 --- a/src/gui/GraphView.cpp +++ b/src/gui/GraphView.cpp @@ -155,11 +155,11 @@ GraphView::property_changed(const Raul::URI& predicate, const Raul::Atom& value) _enable_signal = false; if (predicate == _app->uris().ingen_enabled) { if (value.type() == _app->uris().forge.Bool) { - _process_but->set_active(value.get_bool()); + _process_but->set_active(value.get()); } } else if (predicate == _app->uris().ingen_polyphony) { if (value.type() == _app->uris().forge.Int) { - _poly_spin->set_value(value.get_int32()); + _poly_spin->set_value(value.get()); } } _enable_signal = true; -- cgit v1.2.1