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:
nick_m 2015-10-05 02:56:56 +11:00
parent 070c67bdcc
commit be1396d066
3 changed files with 8 additions and 2 deletions

View file

@ -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(