Re-fix problems when zero-length MIDI regions are created by an import. Set those...
commitf250c5ba7cba68cbf7d21d84503f9b25a9ace246
authorcarlh <carlh@d708f5d6-7413-0410-9779-e7cbd77b26cf>
Tue, 17 May 2011 23:07:46 +0000 (17 23:07 +0000)
committercarlh <carlh@d708f5d6-7413-0410-9779-e7cbd77b26cf>
Tue, 17 May 2011 23:07:46 +0000 (17 23:07 +0000)
tree44708a185e40699ad45779f37c9dd047e1bfaee8
parent3ac4d34ae3c3d2336c81501467f3bd4e47c64a4d
Re-fix problems when zero-length MIDI regions are created by an import.  Set those regions to have the length of one beat, rather than 1 frame, so that the length doesn't get rounded back down to 0 by frames/beats conversions (bug #4000).

git-svn-id: http://subversion.ardour.org/svn/ardour2/ardour2/branches/3.0@9549 d708f5d6-7413-0410-9779-e7cbd77b26cf
gtk2_ardour/editor_audio_import.cc