On Friday 06 June 2003 9:58 am, Levi Burton wrote: > And here is the patch which should work correctly and also fixes a > bug where if the new track id < 0 does not create a new segment. > Also, if a paste were to go past the upper limit of tracks, it will > probably crash (I'm not sure where this upper limit is defined).
You were on the right lines with getMinTrackId(). getMaxTrackId() is what you want. I've modified the patch and committed it. Appears to work. Ta, R ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Rosegarden-devel mailing list [EMAIL PROTECTED] - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-devel
