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

Modified Files:
        PrefsDialog.cpp 
Log Message:
Fix notification of preferences updates.

Index: PrefsDialog.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/prefs/PrefsDialog.cpp,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -d -r1.62 -r1.63
--- PrefsDialog.cpp     22 May 2009 05:46:00 -0000      1.62
+++ PrefsDialog.cpp     27 May 2009 05:52:03 -0000      1.63
@@ -166,6 +166,13 @@
 
    gPrefs->Write(wxT("/Prefs/PrefsCategory"), 
(long)mCategories->GetSelection());
 
+   // LL:  wxMac can't handle recreating the menus when this dialog is still 
active,
+   //      so AudacityProject::UpdatePrefs() or any of the routines it calls 
must
+   //      not cause AudacityProject::RebuildMenuBar() to be executed.
+   for (size_t i = 0; i < gAudacityProjects.GetCount(); i++) {
+      gAudacityProjects[i]->UpdatePrefs();
+   }
+
    EndModal(true);
 }
 


------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to