Skip to content

Commit

Permalink
Timeline: fix addTempoMarkers
Browse files Browse the repository at this point in the history
  • Loading branch information
theGreatWhiteShark committed Oct 17, 2024
1 parent b4e7856 commit 72a2d3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/Timeline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ void Timeline::deactivate() {
void Timeline::addTempoMarkers( const std::vector<std::shared_ptr<TempoMarker>>& tempoMarkers) {
// Sanity checks
for ( auto& mmarker : tempoMarkers ) {
if ( hasColumnTag( mmarker->nColumn ) ) {
ERRORLOG( QString( "There is already a tag present in column %1. Please remove it first." )
if ( hasColumnTempoMarker( mmarker->nColumn ) ) {
ERRORLOG( QString( "There is already a tempo marker present in column %1. Please remove it first." )
.arg( mmarker->nColumn ) );
return;
}
Expand Down

0 comments on commit 72a2d3b

Please sign in to comment.