mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-01 03:17:39 +01:00
Select the control point about to be deleted when using shift + right click.
- fixes incorrect selection changes when doing this.
This commit is contained in:
parent
070c67bdcc
commit
be1396d066
3 changed files with 8 additions and 2 deletions
|
|
@ -882,6 +882,7 @@ AutomationLine::remove_point (ControlPoint& cp)
|
|||
trackview.editor().begin_reversible_command (_("remove control point"));
|
||||
XMLNode &before = alist->get_state();
|
||||
|
||||
trackview.editor ().get_selection ().clear_points ();
|
||||
alist->erase (cp.model());
|
||||
|
||||
trackview.editor().session()->add_command(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue