diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-12-27 14:08:38 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-12-27 14:08:38 +0000 |
commit | 4481cca74a6003cdcc982e5677adcbbdbf1e617d (patch) | |
tree | f2e605ca9fdbb8416115664114805b4991c64e5a /gtk2_ardour/route_ui.cc | |
parent | 3b8b088bd8ee5864fb12a279b9ed607712db2b0e (diff) |
do not start editing track/bus names on a single click in the name entry of the track header - require double click; show name label rather than name entry when rec-enabled, to allow using the name area for track selection (name entry would have been visually still available for editing, which is misleading
git-svn-id: svn://localhost/ardour2/branches/3.0@13738 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/route_ui.cc')
-rw-r--r-- | gtk2_ardour/route_ui.cc | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/gtk2_ardour/route_ui.cc b/gtk2_ardour/route_ui.cc index 94e7d83d19..6898f81bc4 100644 --- a/gtk2_ardour/route_ui.cc +++ b/gtk2_ardour/route_ui.cc @@ -229,14 +229,18 @@ RouteUI::set_route (boost::shared_ptr<Route> rp) rec_enable_button->show(); rec_enable_button->set_controllable (t->rec_enable_control()); - update_rec_display (); - if (is_midi_track()) { midi_track()->StepEditStatusChange.connect (route_connections, invalidator (*this), boost::bind (&RouteUI::step_edit_changed, this, _1), gui_context()); } - } + } + + /* this will work for busses and tracks, and needs to be called to + set up the name entry/name label display. + */ + + update_rec_display (); if (is_track()) { boost::shared_ptr<Track> t = boost::dynamic_pointer_cast<Track>(_route); |