Commit 7387475c authored by Ludovic Fauvet's avatar Ludovic Fauvet

Start track's numbering at 1, not 0.

parent 8507cf21
......@@ -33,9 +33,9 @@ TrackControls::TrackControls( GraphicsTrack* track, QWidget *parent ) :
this, SLOT( setTrackDisabled(bool) ) );
if ( m_track->mediaType() == MainWorkflow::VideoTrack )
m_ui->trackLabel->setText( tr( "Video #%1" ).arg( QString::number( m_track->trackNumber() ) ) );
m_ui->trackLabel->setText( tr( "Video #%1" ).arg( QString::number( m_track->trackNumber() + 1 ) ) );
else if ( m_track->mediaType() == MainWorkflow::AudioTrack )
m_ui->trackLabel->setText( tr( "Audio #%1" ).arg( QString::number( m_track->trackNumber() ) ) );
m_ui->trackLabel->setText( tr( "Audio #%1" ).arg( QString::number( m_track->trackNumber() + 1 ) ) );
}
TrackControls::~TrackControls()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment