We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f34502 commit 8200770Copy full SHA for 8200770
src/playback/internal/playbackcontroller.cpp
@@ -1286,7 +1286,11 @@ void PlaybackController::onTrackNewlyAdded(const InstrumentTrackId& instrumentTr
1286
if (notation == m_notation || notation->soloMuteState()->trackSoloMuteStateExists(instrumentTrackId)) {
1287
continue;
1288
}
1289
- const INotationSoloMuteState::SoloMuteState soloMuteState = { /*mute*/ true, /*solo*/ false };
+
1290
+ const Part* part = notation->parts()->part(instrumentTrackId.partId);
1291
+ const bool shouldMute = !part || !part->show();
1292
1293
+ const INotationSoloMuteState::SoloMuteState soloMuteState = { shouldMute, /*solo*/ false };
1294
notation->soloMuteState()->setTrackSoloMuteState(instrumentTrackId, soloMuteState);
1295
1296
0 commit comments