Only create MIDI regions on click when in draw mode.
authorDavid Robillard <d@drobilla.net>
Sat, 15 Nov 2014 07:03:40 +0000 (02:03 -0500)
committerDavid Robillard <d@drobilla.net>
Sat, 15 Nov 2014 07:03:40 +0000 (02:03 -0500)
commit89a19808187137b1ddbec7d26786fbe50ed7476a
tree480b0b3eab7ff50a3b0702f5376c9f5ae26762be
parentb52407043c71f9169a2a8171d07e4e1ade5f07a3
Only create MIDI regions on click when in draw mode.

It was much too easy to accidentally create MIDI regions in object mode.  If
the user isn't in draw mode anyway, then even after creating a region, they
can't put notes in it, so I don't think we've lost any discoverability here.
gtk2_ardour/editor_drag.cc