diff options
author | Carl Hetherington <carl@carlh.net> | 2012-05-01 21:34:24 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2012-05-01 21:34:24 +0000 |
commit | ae787813ddc37bdc2ba32fb8c190a8153b7c5c59 (patch) | |
tree | 7b7fe380d8668e18f1cbc9ce984f517817c7573a /gtk2_ardour/location_ui.h | |
parent | 6b9d8be70742a1466256ba56b9a42a27bba1bc93 (diff) |
Fix the focussing of newly-created marker name entries
when Config->get_name_new_markers() is true.
git-svn-id: svn://localhost/ardour2/branches/3.0@12144 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/location_ui.h')
-rw-r--r-- | gtk2_ardour/location_ui.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk2_ardour/location_ui.h b/gtk2_ardour/location_ui.h index 5a6e8649c7..b850b89ddd 100644 --- a/gtk2_ardour/location_ui.h +++ b/gtk2_ardour/location_ui.h @@ -162,6 +162,10 @@ class LocationUI : public Gtk::HBox, public ARDOUR::SessionHandlePtr private: ARDOUR::LocationStack* locations; + /** set to the location that has just been created with the LocationUI `add' button + (if Config->get_name_new_markers() is true); if it is non-0, the name entry of + the location is given the focus by location_added(). + */ ARDOUR::Location *newest_location; void session_going_away (); |