summaryrefslogtreecommitdiffstats
path: root/src/AlsaDriver.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-07-24 23:10:43 +0000
committerDavid Robillard <d@drobilla.net>2007-07-24 23:10:43 +0000
commit35b1c7c0683a72978f646c883f411e1eabd595ae (patch)
treeeff7d5e6048ed320916ec9a2f11768200361cec3 /src/AlsaDriver.cpp
parent560fac6a42644bd7584db5f53db19c936ef50ab0 (diff)
downloadpatchage-35b1c7c0683a72978f646c883f411e1eabd595ae.tar.gz
patchage-35b1c7c0683a72978f646c883f411e1eabd595ae.tar.bz2
patchage-35b1c7c0683a72978f646c883f411e1eabd595ae.zip
Possibly fix overlapping MIDI ports (fix ticket 10).
git-svn-id: http://svn.drobilla.net/lad/patchage@616 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/AlsaDriver.cpp')
-rw-r--r--src/AlsaDriver.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/AlsaDriver.cpp b/src/AlsaDriver.cpp
index 058b0a1..5aad6aa 100644
--- a/src/AlsaDriver.cpp
+++ b/src/AlsaDriver.cpp
@@ -252,8 +252,10 @@ AlsaDriver::refresh_ports()
m->add_port(create_port(m, port_name, false, addr));
}
}
- m->resize();
+
_app->canvas()->add_item(m);
+
+ m->resize();
}
}
}