diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-09-29 16:57:02 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-09-29 16:57:02 +0000 |
commit | ee541234704d354f7283d521fbb2afb923074441 (patch) | |
tree | 1c060414b34a7151945f9860b15c19b7defb964b | |
parent | 5f128910e1f271200d38e1df20f01e86fe788a35 (diff) |
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
-rw-r--r-- | gtk2_ardour/editor_routes.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gtk2_ardour/editor_routes.cc b/gtk2_ardour/editor_routes.cc index 4f215d7bb6..5e037056e7 100644 --- a/gtk2_ardour/editor_routes.cc +++ b/gtk2_ardour/editor_routes.cc @@ -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 |