mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 12:19:33 +01:00
remove visible "sound notes" button,add Config parameter to control this (which then saves the state the user selected), add control to the prefs dialog
git-svn-id: svn://localhost/ardour2/branches/3.0@10934 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
20aeb5af0a
commit
50aee54219
7 changed files with 15 additions and 28 deletions
|
|
@ -1541,7 +1541,7 @@ MidiRegionView::extend_active_notes()
|
|||
void
|
||||
MidiRegionView::play_midi_note(boost::shared_ptr<NoteType> note)
|
||||
{
|
||||
if (_no_sound_notes || !trackview.editor().sound_notes()) {
|
||||
if (_no_sound_notes || !Config->get_sound_midi_notes()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -1559,7 +1559,7 @@ MidiRegionView::play_midi_note(boost::shared_ptr<NoteType> note)
|
|||
void
|
||||
MidiRegionView::play_midi_chord (vector<boost::shared_ptr<NoteType> > notes)
|
||||
{
|
||||
if (_no_sound_notes || !trackview.editor().sound_notes()) {
|
||||
if (_no_sound_notes || !Config->get_sound_midi_notes()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -2341,7 +2341,7 @@ MidiRegionView::move_selection(double dx, double dy, double cumulative_dy)
|
|||
(*i)->move_event(dx, dy);
|
||||
}
|
||||
|
||||
if (dy && !_selection.empty() && !_no_sound_notes && trackview.editor().sound_notes()) {
|
||||
if (dy && !_selection.empty() && !_no_sound_notes && Config->get_sound_midi_notes()) {
|
||||
|
||||
if (to_play.size() > 1) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue