On Sunday 05 Oct 2003 12:51 am, Guillaume Laurent wrote: > Actually, I think it's better to disable these menu items if > there's an audio segment selected. Changes are in CVS.
Nearly, but not quite. You've just changed the logic -- previously these functions would work if you had any non-audio segments selected (they would simply ignore the audio ones), and now they'll only work if you have only non-audio segments. Apart from anything else, that would break a simple Select All - Edit in Notation sequence of operations, if there were any audio segments in the composition. I think you want SegmentSelection::hasNonAudioSegments and to key the menu state from that. Chris ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Rosegarden-devel mailing list [EMAIL PROTECTED] - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-devel
