fix #23678: Opening MuseScore without score and Show Play Panel enabled causes crash
This commit is contained in:
parent
be164dc03a
commit
0185850b3e
1 changed files with 2 additions and 0 deletions
|
@ -524,6 +524,8 @@ void Seq::processMessages()
|
|||
switch(msg.id) {
|
||||
case SEQ_TEMPO_CHANGE:
|
||||
{
|
||||
if (!cs)
|
||||
continue;
|
||||
if (playTime != 0) {
|
||||
int tick = cs->utime2utick(qreal(playTime) / qreal(MScore::sampleRate));
|
||||
cs->tempomap()->setRelTempo(msg.realVal);
|
||||
|
|
Loading…
Reference in a new issue