Fix the focussing of newly-created marker name entries
[ardour.git] / gtk2_ardour / location_ui.h
index 5a6e8649c7c403ca74fec59a4985ea70f72c7ae0..b850b89ddd58189cf7c4fd2197ef24f80f1c4f06 100644 (file)
@@ -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 ();