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

Modified Files:
        TrackPanel.cpp 
Log Message:
Don't push state for mute/solo.

Index: TrackPanel.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/TrackPanel.cpp,v
retrieving revision 1.427
retrieving revision 1.428
diff -u -d -r1.427 -r1.428
--- TrackPanel.cpp      7 Feb 2009 03:05:35 -0000       1.427
+++ TrackPanel.cpp      15 Feb 2009 23:16:00 -0000      1.428
@@ -3370,16 +3370,17 @@
    {      
       if (buttonRect.Contains(event.m_x, event.m_y)) 
       {
-         // For either, MakeParentPushState to make the track state dirty.
+         //v Disrupts workflow to have these on the stack, so no longer doing 
it.
+         //    For either, MakeParentPushState to make the track state dirty.
          if(solo)
          {
             OnTrackSolo(event.ShiftDown(),t);
-            MakeParentPushState(_("Soloed track"), _("Solo"), true /* 
consolidate */);
+            //v MakeParentPushState(_("Soloed track"), _("Solo"), true /* 
consolidate */);
          }
          else
          {
             OnTrackMute(event.ShiftDown(),t);
-            MakeParentPushState(_("Muted track"), _("Mute"), true /* 
consolidate */);
+            //v MakeParentPushState(_("Muted track"), _("Mute"), true /* 
consolidate */);
          }
       }  
       SetCapturedTrack( NULL );


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to