From 42fd0183fa7950e57a74e0b8b12fa14edea21af8 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 2 Oct 2016 18:47:28 -0400 Subject: Fix display of initial port values --- src/gui/Port.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gui/Port.cpp') diff --git a/src/gui/Port.cpp b/src/gui/Port.cpp index c643b379..f9a04016 100644 --- a/src/gui/Port.cpp +++ b/src/gui/Port.cpp @@ -98,6 +98,10 @@ Port::Port(App& app, model()->has_property(_app.uris().atom_bufferType, _app.uris().atom_Sequence)); + for (const auto& p : pm->properties()) { + property_changed(p.first, p.second); + } + update_metadata(); value_changed(pm->value()); } -- cgit v1.2.1