From 15b3b0e9f8823752f80c7e597a70749813e61c79 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 25 Dec 2017 15:26:48 -0500 Subject: Always use braces --- src/gui/GraphView.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/gui/GraphView.cpp') diff --git a/src/gui/GraphView.cpp b/src/gui/GraphView.cpp index 29a89b16..bbe28a0f 100644 --- a/src/gui/GraphView.cpp +++ b/src/gui/GraphView.cpp @@ -84,8 +84,9 @@ GraphView::set_graph(SPtr graph) _poly_spin->set_increments(1, 4); _poly_spin->set_value(graph->internal_poly()); - for (const auto& p : graph->properties()) + for (const auto& p : graph->properties()) { property_changed(p.first, p.second); + } // Connect model signals to track state graph->signal_property().connect( @@ -115,8 +116,9 @@ GraphView::create(App& app, SPtr graph) void GraphView::process_toggled() { - if (!_enable_signal) + if (!_enable_signal) { return; + } _app->set_property(_graph->uri(), _app->uris().ingen_enabled, -- cgit v1.2.1