From ee376a70121cda807de0ab1c4124996700a1f513 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 10 Sep 2006 03:42:59 +0000 Subject: GUI redesigning. git-svn-id: http://svn.drobilla.net/lad/patchage@125 a436a847-0d15-0410-975c-d299462d15a1 --- src/PatchageModule.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/PatchageModule.h') diff --git a/src/PatchageModule.h b/src/PatchageModule.h index b511eec..4400a68 100644 --- a/src/PatchageModule.h +++ b/src/PatchageModule.h @@ -55,10 +55,9 @@ public: virtual void add_patchage_port(const string& port_name, bool is_input, PortType type) { - PatchagePort* port = new PatchagePort(this, type, port_name, is_input, - m_app->state_manager()->get_port_color(type)); + new PatchagePort(this, type, port_name, is_input, m_app->state_manager()->get_port_color(type)); - Module::add_port(port, true); + resize(); } virtual void add_patchage_port(const string& port_name, bool is_input, PortType type, const snd_seq_addr_t addr) @@ -68,7 +67,7 @@ public: port->alsa_addr(addr); - Module::add_port(port, true); + resize(); } -- cgit v1.2.1