+ ui->next_btn->setEnabled(ui->stop_btn->isEnabled()); // TODO: Perhaps not if we're on the last clip?
+ midi_mapper.set_next_ready(ui->next_btn->isEnabled() ? MIDIMapper::On : MIDIMapper::Off);
+
+ // NOTE: The hidden button is still reachable by keyboard or MIDI.
+ if (any_selected) {
+ ui->play_btn->setVisible(true);
+ } else if (ui->stop_btn->isEnabled()) { // Playing.
+ ui->play_btn->setVisible(false);
+ } else {
+ ui->play_btn->setVisible(true);
+ }
+ ui->next_btn->setVisible(!ui->play_btn->isVisible());
+