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

Modified Files:
        Project.cpp 
Log Message:
Clearing "After using Plot Spectrum in one window then clearing to a new 
window, Plot Spectrum no longer opens until Audacity is exited and restarted" 
bug.

Index: Project.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/Project.cpp,v
retrieving revision 1.391
retrieving revision 1.392
diff -u -d -r1.391 -r1.392
--- Project.cpp 2 Feb 2009 16:14:43 -0000       1.391
+++ Project.cpp 4 Feb 2009 00:07:39 -0000       1.392
@@ -1565,6 +1565,11 @@
 //     and/or attempts to delete objects twice.
 void AudacityProject::OnCloseWindow(wxCloseEvent & event)
 {
+   if (gFreqWindow) {
+      gFreqWindow->Destroy();
+      gFreqWindow = NULL;
+   }
+
    if (gPrefsDialogVisible || wxIsBusy()) {
       event.Veto();
       return;


------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to