summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gtk2_ardour/midi_time_axis.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/midi_time_axis.cc b/gtk2_ardour/midi_time_axis.cc
index b8a22d04b7..ff84ba81b7 100644
--- a/gtk2_ardour/midi_time_axis.cc
+++ b/gtk2_ardour/midi_time_axis.cc
@@ -1215,7 +1215,8 @@ MidiTimeAxisView::show_all_automation (bool apply_to_selection)
// Show automation for all controllers named in midnam file
boost::shared_ptr<MasterDeviceNames> device_names = get_device_names();
- if (device_names && !device_names->controls().empty()) {
+ if (gui_property (X_("midnam-model-name")) != "Generic" &&
+ device_names && !device_names->controls().empty()) {
const std::string device_mode = _midnam_custom_device_mode_selector.get_active_text();
const uint16_t selected_channels = midi_track()->get_playback_channel_mask();
for (uint32_t chn = 0; chn < 16; ++chn) {