13
0

Don't grab focus on enter if we are editing a name. Otherwise when the mouse pointer leaves the editing widget and re-enters the route list, the edit is aborted. Should fix #2920.

git-svn-id: svn://localhost/ardour2/branches/3.0@8405 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-01-01 18:46:20 +00:00
parent e5c69387c0
commit f294d62187

View File

@ -251,6 +251,10 @@ EditorRoutes::focus_out (GdkEventFocus*)
bool
EditorRoutes::enter_notify (GdkEventCrossing*)
{
if (name_editable) {
return true;
}
/* arm counter so that ::selection_filter() will deny selecting anything for the
next two attempts to change selection status.
*/