Skip to content

Commit

Permalink
Merge pull request #4083 from jthistle/277612-play-panel-segfault
Browse files Browse the repository at this point in the history
fix #277612: segfault when opening play panel
  • Loading branch information
anatoly-os committed Oct 31, 2018
2 parents 9b98670 + af8e542 commit e6235b2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mscore/musescore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -941,6 +941,10 @@ void MuseScore::populatePlaybackControls()
QWidget* w = new AccessibleToolButton(transportTools, repeatAction);
transportTools->addWidget(w);
}
else if (QString(s) == "play") {
_playButton = new AccessibleToolButton(transportTools, getAction("play"));
transportTools->addWidget(_playButton);
}
else {
QWidget* w = new AccessibleToolButton(transportTools, getAction(s));
transportTools->addWidget(w);
Expand Down

0 comments on commit e6235b2

Please sign in to comment.