Skip to content

Commit

Permalink
Fixed seq track link menu
Browse files Browse the repository at this point in the history
  • Loading branch information
FangCunWuChang committed Jun 15, 2024
1 parent 342cd6c commit b17ba1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/component/sequencer/SeqTrackIOComponent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ juce::PopupMenu SeqTrackIOComponent::createLinkMenu() const {
auto mixerTracks = quickAPI::getMixerTrackNameList();
for (int i = 0; i < mixerTracks.size(); i++) {
juce::String name = TRANS("Mixer Track") + " #" + juce::String{ i } + " " + mixerTracks[i];
menu.addItem(i + 1, name, i != this->index,
menu.addItem(i + 1, name, true,
this->isMidi ? this->midiOutputMixerTemp.contains(i)
: this->audioOutputMixerTemp.contains(i));
}
Expand Down

0 comments on commit b17ba1f

Please sign in to comment.