Update of /cvsroot/audacity/audacity-src/src
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv29513

Modified Files:
        Menus.cpp 
Log Message:
Idea from Philip Van Baren to make batch (chain) commands behave like effects 
when no audio is selected (ie select all) when applied to the current project.

Index: Menus.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/Menus.cpp,v
retrieving revision 1.472
retrieving revision 1.473
diff -u -d -r1.472 -r1.473
--- Menus.cpp   25 Apr 2009 19:19:39 -0000      1.472
+++ Menus.cpp   25 Apr 2009 23:06:56 -0000      1.473
@@ -1413,7 +1413,7 @@
 void AudacityProject::SelectAllIfNone()
 {
    wxUint32 flags = GetUpdateFlags();
-   if((flags & TracksSelectedFlag) ==0)
+   if(((flags & TracksSelectedFlag) ==0) || (mViewInfo.sel0 >= mViewInfo.sel1))
       OnSelectAll();
 }
 


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to