Fix session-open after selecting new, template, then back
[ardour.git] / gtk2_ardour / region_layering_order_editor.h
index acdb1e59a512843298884afecc3940f5e34c380c..05ce273f1ff65cf9c939f5001323373d5e99f942 100644 (file)
@@ -39,22 +39,22 @@ namespace ARDOUR {
 
 class RegionLayeringOrderEditor : public ArdourWindow
 {
-  public:
+public:
        RegionLayeringOrderEditor (PublicEditor&);
        virtual ~RegionLayeringOrderEditor ();
 
        void set_context (const std::string &, ARDOUR::Session *, TimeAxisView *, boost::shared_ptr<ARDOUR::Playlist>, ARDOUR::framepos_t);
        void maybe_present ();
 
-  protected:
+protected:
        virtual bool on_key_press_event (GdkEventKey* event);
 
-  private:
+private:
        framepos_t position;
        bool in_row_change;
        uint32_t regions_at_position;
 
-        PBD::ScopedConnection playlist_modified_connection;
+       PBD::ScopedConnection playlist_modified_connection;
 
        struct LayeringOrderColumns : public Gtk::TreeModel::ColumnRecord {
                LayeringOrderColumns () {
@@ -75,7 +75,7 @@ class RegionLayeringOrderEditor : public ArdourWindow
        PublicEditor& editor;
        TimeAxisView* _time_axis_view;
 
-       void row_activated (const Gtk::TreeModel::Path& path, Gtk::TreeViewColumn* column);
+       void row_selected ();
        void refill ();
        void playlist_modified ();
 };