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:
parent
e5c69387c0
commit
f294d62187
@ -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.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user