From 444d89b669145beed314b8a7cf5755b5cda0b820 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 19 Jan 2013 20:15:15 +0000 Subject: 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 --- libs/midi++2/midnam_patch.cc | 2 -- 1 file changed, 2 deletions(-) (limited to 'libs/midi++2') 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 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]; } -- cgit v1.2.3