projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a36256
)
son't try to select non-existent notes after editing (and thus crash).
author
nick_m
<mainsbridge@gmail.com>
Tue, 22 Nov 2016 17:55:56 +0000
(
04:55
+1100)
committer
nick_m
<mainsbridge@gmail.com>
Tue, 22 Nov 2016 17:55:56 +0000
(
04:55
+1100)
- should fix 7135
gtk2_ardour/edit_note_dialog.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/edit_note_dialog.cc
b/gtk2_ardour/edit_note_dialog.cc
index 39a3fa4e789ad354e6f56fe4e20c0ecc5edf0232..924b75d3b15b5590bf7deabf475c14c451e014ed 100644
(file)
--- a/
gtk2_ardour/edit_note_dialog.cc
+++ b/
gtk2_ardour/edit_note_dialog.cc
@@
-223,7
+223,10
@@
EditNoteDialog::done (int r)
_region_view->apply_diff ();
+ list<Evoral::event_id_t> notes;
for (set<NoteBase*>::iterator i = _events.begin(); i != _events.end(); ++i) {
- (*i)->set_selected ((*i)->selected()); // change color
+ notes.push_back ((*i)->note()->id());
}
+
+ _region_view->select_notes (notes);
}