summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-01-19 20:15:15 +0000
committerDavid Robillard <d@drobilla.net>2013-01-19 20:15:15 +0000
commit444d89b669145beed314b8a7cf5755b5cda0b820 (patch)
tree8e525924f07aefc16732a90a740f06acf83b1b24 /libs
parent2d9a15087bad6dfaeedd259b2fe948627d3b5ffb (diff)
Set MIDI device mode to the first by default if unset.
Give up trying to hide mode selector when it's useless. Fix display of program names for default mode. Abstract out (non-crashy) MidiTimeAxisView::get_device_names(). git-svn-id: svn://localhost/ardour2/branches/3.0@13903 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r--libs/midi++2/midnam_patch.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/libs/midi++2/midnam_patch.cc b/libs/midi++2/midnam_patch.cc
index 82fc579d1a..39238114c7 100644
--- a/libs/midi++2/midnam_patch.cc
+++ b/libs/midi++2/midnam_patch.cc
@@ -453,8 +453,6 @@ CustomDeviceMode::get_state(void)
boost::shared_ptr<CustomDeviceMode>
MasterDeviceNames::custom_device_mode_by_name(std::string mode_name)
{
- // can't assert this, since in many of the patch files the mode name is empty
- //assert(mode_name != "");
return _custom_device_modes[mode_name];
}