diff options
author | David Robillard <d@drobilla.net> | 2006-09-10 03:42:59 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2006-09-10 03:42:59 +0000 |
commit | ee376a70121cda807de0ab1c4124996700a1f513 (patch) | |
tree | 81154b1d7539932414eab91bb85084699dda76b8 /src/AlsaDriver.cpp | |
parent | f514f3a017029bcc68fab25c8b84be4e6122709d (diff) | |
download | patchage-ee376a70121cda807de0ab1c4124996700a1f513.tar.gz patchage-ee376a70121cda807de0ab1c4124996700a1f513.tar.bz2 patchage-ee376a70121cda807de0ab1c4124996700a1f513.zip |
GUI redesigning.
git-svn-id: http://svn.drobilla.net/lad/patchage@125 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/AlsaDriver.cpp')
-rw-r--r-- | src/AlsaDriver.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/AlsaDriver.cpp b/src/AlsaDriver.cpp index 2f4d52e..909a710 100644 --- a/src/AlsaDriver.cpp +++ b/src/AlsaDriver.cpp @@ -173,7 +173,7 @@ AlsaDriver::refresh_ports() m = new PatchageModule(m_app, client_name, InputOutput); m->load_location(); m->store_location(); - m_canvas->add_module(m); + m->show(); } if (!is_duplex) { @@ -202,7 +202,6 @@ AlsaDriver::refresh_ports() m = new PatchageModule(m_app, client_name, type); m->load_location(); m->store_location(); - m_canvas->add_module(m); } m->add_patchage_port(port_name, is_input, ALSA_MIDI, addr); } else { // two ports to add @@ -217,7 +216,6 @@ AlsaDriver::refresh_ports() m = new PatchageModule(m_app, client_name, type); m->load_location(); m->store_location(); - m_canvas->add_module(m); } m->add_patchage_port(port_name, true, ALSA_MIDI, addr); @@ -232,10 +230,10 @@ AlsaDriver::refresh_ports() m = new PatchageModule(m_app, client_name, type); m->load_location(); m->store_location(); - m_canvas->add_module(m); } m->add_patchage_port(port_name, false, ALSA_MIDI, addr); } + m->show(); } } } |