Loop marker: Changed tooltip text.

This commit is contained in:
Wong Cho Ching
2014-01-24 18:39:00 +08:00
parent 9435cfd8b8
commit 3b8214bab8

View File

@@ -301,13 +301,20 @@ void timeLine::mousePressEvent( QMouseEvent* event )
m_loopPos[( m_action == MoveLoopBegin ) ? 0 : 1] = t;
}
if( m_action == MoveLoopBegin || m_action == MoveLoopEnd )
if( m_action == MoveLoopBegin )
{
delete m_hint;
m_hint = textFloat::displayMessage( tr( "Hint" ),
tr( "Press <Ctrl> to disable magnetic loop points." ),
embed::getIconPixmap( "hint" ), 0 );
}
else if( m_action == MoveLoopEnd )
{
delete m_hint;
m_hint = textFloat::displayMessage( tr( "Hint" ),
tr( "Hold <Shift>+<Right click> to move the begin loop point; Press <Ctrl> to disable magnetic loop points." ),
embed::getIconPixmap( "hint" ), 0 );
}
mouseMoveEvent( event );
}