From 28ab52045a429eb190ea1a23cef92d81c36748f5 Mon Sep 17 00:00:00 2001
From: David Robillard <d@drobilla.net>
Date: Fri, 24 Jan 2014 16:45:08 +0000
Subject: Show toggle ports with checkboxes initially.

git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5324 a436a847-0d15-0410-975c-d299462d15a1
---
 src/gui/Port.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/gui')

diff --git a/src/gui/Port.cpp b/src/gui/Port.cpp
index 0d82d0cd..3357a553 100644
--- a/src/gui/Port.cpp
+++ b/src/gui/Port.cpp
@@ -85,8 +85,8 @@ Port::Port(App&                  app,
 	set_border_width(1.0);
 
 	if (app.can_control(pm.get())) {
-		port_properties_changed();
 		show_control();
+		port_properties_changed();
 		pm->signal_property().connect(
 			sigc::mem_fun(this, &Port::property_changed));
 		pm->signal_property_removed().connect(
-- 
cgit v1.2.1