Skip to content

Commit

Permalink
Fix #271039: crash when closing score after changing tempo in play panel
Browse files Browse the repository at this point in the history
  • Loading branch information
Jojo-Schmitz committed Apr 4, 2018
1 parent b48eab1 commit 22d6f43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mscore/seq.cpp
Expand Up @@ -1553,7 +1553,7 @@ void Seq::updateSynthesizerState(int tick1, int tick2)

double Seq::curTempo() const
{
return cs->tempomap()->tempo(playPos->first);
return cs ? cs->tempomap()->tempo(playPos->first) : 0.0;
}

//---------------------------------------------------------
Expand Down

0 comments on commit 22d6f43

Please sign in to comment.