Skip to content

Commit

Permalink
Correctly disable playback controls when closing notation
Browse files Browse the repository at this point in the history
  • Loading branch information
cbjeukendrup committed Oct 15, 2021
1 parent b4073be commit 7f85574
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/playback/internal/playbackcontroller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ void PlaybackController::onNotationChanged()
m_masterNotation = globalContext()->currentMasterNotation();
m_notation = globalContext()->currentNotation();
if (!m_notation || !m_masterNotation) {
m_isPlayAllowedChanged.notify();
return;
}

Expand Down

0 comments on commit 7f85574

Please sign in to comment.