diff --git a/ChangeLog b/ChangeLog index 2de1e1cb9..53b5846ac 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-05-03 Tobias Dorffel + + * src/core/track.cpp: + fixed move of TCO-selections + 2008-04-30 Paul Giblock * src/gui/piano_roll.cpp: diff --git a/src/core/track.cpp b/src/core/track.cpp index 6da1b32d4..fc88f8194 100644 --- a/src/core/track.cpp +++ b/src/core/track.cpp @@ -488,12 +488,13 @@ void trackContentObjectView::mouseMoveEvent( QMouseEvent * _me ) for( QVector::iterator it = so.begin(); it != so.end(); ++it ) { - trackContentObject * tco = - dynamic_cast( *it ); - if( tco == NULL ) + trackContentObjectView * tcov = + dynamic_cast( *it ); + if( tcov == NULL ) { continue; } + trackContentObject * tco = tcov->m_tco; tcos.push_back( tco ); smallest_pos = tMin( smallest_pos, (Sint32)tco->startPosition() +