Repeat of recent fix to EditorRoutes to improve behaviour when editing names.
git-svn-id: svn://localhost/ardour2/branches/3.0@8407 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
f07af0c990
commit
2cd8a5a752
@ -206,6 +206,10 @@ EditorRegions::focus_out (GdkEventFocus*)
|
||||
bool
|
||||
EditorRegions::enter_notify (GdkEventCrossing* ev)
|
||||
{
|
||||
if (name_editable) {
|
||||
return true;
|
||||
}
|
||||
|
||||
/* arm counter so that ::selection_filter() will deny selecting anything for the
|
||||
next two attempts to change selection status.
|
||||
*/
|
||||
@ -222,7 +226,6 @@ EditorRegions::leave_notify (GdkEventCrossing*)
|
||||
old_focus = 0;
|
||||
}
|
||||
|
||||
name_editable = 0;
|
||||
Keyboard::magic_widget_drop_focus ();
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user