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

Modified Files:
        Project.cpp 
Log Message:
Use different pref in Import.cpp to detect the chosen filter and reset it 
afterwards to prevent Import from importing files with that type through other 
means (RecentFiles or DragnDrop)

Index: Project.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/Project.cpp,v
retrieving revision 1.445
retrieving revision 1.446
diff -u -d -r1.445 -r1.446
--- Project.cpp 26 Jul 2009 02:44:50 -0000      1.445
+++ Project.cpp 26 Jul 2009 21:38:06 -0000      1.446
@@ -2040,6 +2040,7 @@
       mask = mask.AfterFirst(wxT('|')).AfterFirst(wxT('|'));
    }
    gPrefs->Write(wxT("/DefaultOpenType"), mask.BeforeFirst(wxT('|')));
+   gPrefs->Write(wxT("/LastOpenType"), mask.BeforeFirst(wxT('|')));
 
    // Return the selected files
    dlog.GetPaths(selected);


------------------------------------------------------------------------------
_______________________________________________
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to