Update of /cvsroot/audacity/audacity-src/src
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv31813/src

Modified Files:
        Project.cpp 
Log Message:
Fixed double prompting on SaveAs to an existing file.

Index: Project.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/Project.cpp,v
retrieving revision 1.477
retrieving revision 1.478
diff -u -d -r1.477 -r1.478
--- Project.cpp 8 Dec 2009 21:00:39 -0000       1.477
+++ Project.cpp 10 Dec 2009 16:50:42 -0000      1.478
@@ -3378,7 +3378,11 @@
       fName = FileSelector(_("Save Project As..."),
                     path, fName, wxT(""),
                     _("Audacity projects (*.aup)|*.aup"),
-                    wxFD_SAVE | wxFD_OVERWRITE_PROMPT | wxRESIZE_BORDER, this);
+      // JKC: I removed 'wxFD_OVERWRITE_PROMPT' because we are checking 
+      // for overwrite ourselves later, and we disallow it.
+      // We disallow overwrite because we would have to delete the many
+      // smaller files too, or prompt to move them.
+                    wxFD_SAVE |  wxRESIZE_BORDER, this);
    }
 
    if (fName == wxT(""))


------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to