fix for overlapping control ids (jog wheel with F7 and external with left)
[ardour.git] / libs / surfaces / mackie / scripts / controls.rb
index 164467207732510c20e53b0a8ef1fa4f377e68eb..7d414cf9669dc90478e4f0dbe9dc44714addcdf7 100644 (file)
@@ -191,6 +191,7 @@ class Surface
         end
         
         # add the new control to the various lookups
+        # but first print a warning if the id is duplicated
         if @controls_by_id.has_key?( row.id ) && control.group.class != Strip
           duplicated = @controls_by_id[row.id]
           puts "duplicate id #{control.id}:#{control.name} of #{duplicated.id}:#{duplicated.name}"