diff options
Diffstat (limited to 'src/gui/PatchView.cpp')
-rw-r--r-- | src/gui/PatchView.cpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/gui/PatchView.cpp b/src/gui/PatchView.cpp index 4506a651..a5932a23 100644 --- a/src/gui/PatchView.cpp +++ b/src/gui/PatchView.cpp @@ -207,6 +207,8 @@ void PatchView::refresh_clicked() { _app->engine()->get(_patch->path()); + Raul::warn << "Refresh plugins" << std::endl; + _app->engine()->get("ingen:plugins"); } void @@ -214,10 +216,11 @@ PatchView::property_changed(const Raul::URI& predicate, const Raul::Atom& value) { _enable_signal = false; if (predicate == _app->uris().ingen_enabled) { - if (value.type() == Atom::BOOL) - _process_but->set_active(value.get_bool()); - else - warn << "Bad type for ingen:enabled variable: " << value.type() << endl; + if (value.type() == _app->uris().forge.Bool) { + _process_but->set_active(value.get_bool()); + } else { + warn << "Bad type for ingen:enabled variable: " << value.type() << endl; + } } _enable_signal = true; } |