Update of /cvsroot/audacity/audacity-src/src
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv16192

Modified Files:
        TrackPanel.cpp 
Log Message:
Do not automatically select track when keyboard highlighting.

Index: TrackPanel.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/TrackPanel.cpp,v
retrieving revision 1.356
retrieving revision 1.357
diff -u -d -r1.356 -r1.357
--- TrackPanel.cpp      27 May 2007 16:37:37 -0000      1.356
+++ TrackPanel.cpp      1 Jun 2007 03:15:32 -0000       1.357
@@ -4993,13 +4993,6 @@
    // Contract selection from the right to the left
    if( shift && ctrl )
    {
-      // Ensure currently focused track is selected.
-      // (Possible if mouse and keyboard are used together)
-      if( t && !t->GetSelected() )
-      {
-         mTracks->Select( t );
-      }
-
       // Reduce and constrain (counter-intuitive)
       mViewInfo->sel1 -= multiplier / mViewInfo->zoom;
       if( mViewInfo->sel1 < mViewInfo->sel0 )
@@ -5023,13 +5016,6 @@
          gAudioIO->SeekStream(-mSeekLong);
          return;
       }
-      
-      // Ensure currently focused track is selected.
-      // (Possible if mouse and keyboard are used together)
-      if( t && !t->GetSelected() )
-      {
-         mTracks->Select( t );
-      }
 
       // Expand and constrain
       mViewInfo->sel0 -= multiplier / mViewInfo->zoom;
@@ -5105,13 +5091,6 @@
    // Contract selection from the left to the right
    if( shift && ctrl )
    {
-      // Ensure currently focused track is selected.
-      // (Possible if mouse and keyboard are used together)
-      if( t && !t->GetSelected() )
-      {
-         mTracks->Select( t );
-      }
-
       // Reduce and constrain (counter-intuitive)
       mViewInfo->sel0 += multiplier / mViewInfo->zoom;
       if( mViewInfo->sel0 > mViewInfo->sel1 )
@@ -5135,13 +5114,6 @@
          gAudioIO->SeekStream(mSeekLong);
          return;
       }
-      
-      // Ensure currently focused track is selected.
-      // (Possible if mouse and keyboard are used together)
-      if( t && !t->GetSelected() )
-      {
-         mTracks->Select( t );
-      }
 
       // Expand and constrain
       mViewInfo->sel1 += multiplier/mViewInfo->zoom;


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to