Update of /cvsroot/audacity/audacity-src/src/export
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv7871/src/export

Modified Files:
        ExportPCM.cpp 
Log Message:
Don't show options dialog for pre-set WAV and AIFF types.

Index: ExportPCM.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/export/ExportPCM.cpp,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -d -r1.51 -r1.52
--- ExportPCM.cpp       7 Jul 2008 18:52:26 -0000       1.51
+++ ExportPCM.cpp       12 Jul 2008 14:02:17 -0000      1.52
@@ -541,6 +541,11 @@
 
 bool ExportPCM::DisplayOptions(AudacityProject *project, int format)
 {
+   if (format < 2)
+   {
+      wxMessageBox(wxT("No options for this format. Use 'Other uncompressed 
files'."));
+      return true;
+   }
    ExportPCMOptions od(project,format);
 
    od.ShowModal();


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to