mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
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
1 changed files with 4 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue