don't unnecessarily reset name_editable in editor route list, so that tab will still finish an edit
git-svn-id: svn://localhost/ardour2/branches/3.0@7860 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
5f128910e1
commit
ee54123470
@ -245,7 +245,6 @@ EditorRoutes::focus_out (GdkEventFocus*)
|
||||
old_focus = 0;
|
||||
}
|
||||
|
||||
name_editable = 0;
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -262,7 +261,7 @@ EditorRoutes::enter_notify (GdkEventCrossing* ev)
|
||||
}
|
||||
|
||||
bool
|
||||
EditorRoutes::leave_notify (GdkEventCrossing*)
|
||||
EditorRoutes::leave_notify (GdkEventCrossing* ev)
|
||||
{
|
||||
selection_countdown = 0;
|
||||
|
||||
@ -271,7 +270,6 @@ EditorRoutes::leave_notify (GdkEventCrossing*)
|
||||
old_focus = 0;
|
||||
}
|
||||
|
||||
name_editable = 0;
|
||||
Keyboard::magic_widget_drop_focus ();
|
||||
return false;
|
||||
}
|
||||
@ -897,7 +895,7 @@ EditorRoutes::key_press (GdkEventKey* ev)
|
||||
if (name_editable) {
|
||||
name_editable->editing_done ();
|
||||
name_editable = 0;
|
||||
}
|
||||
}
|
||||
|
||||
col = _display.get_column (5); // select&focus on name column
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user