sfdb paths are saved and restored.
[ardour.git] / gtk2_ardour / editor_mixer.cc
index a61707f91b0b596106ac8b9229e4434044d612b3..a55b6f2066c1b4a1887cc8c37c2c9e3cf79ea464 100644 (file)
@@ -95,14 +95,14 @@ Editor::show_editor_mixer (bool yn)
                }
                
                if (current_mixer_strip->get_parent() == 0) {
-
                        current_mixer_strip->set_embedded (true);
                        current_mixer_strip->Hiding.connect (mem_fun(*this, &Editor::current_mixer_strip_hidden));
                        current_mixer_strip->GoingAway.connect (mem_fun(*this, &Editor::current_mixer_strip_removed));
                        current_mixer_strip->set_width (editor_mixer_strip_width);
                        
                        global_hpacker.pack_start (*current_mixer_strip, Gtk::PACK_SHRINK );
-                       global_hpacker.reorder_child (*current_mixer_strip, 0);
+                       global_hpacker.reorder_child (*current_mixer_strip, 0);
+
                        current_mixer_strip->show_all ();
                }
 
@@ -204,14 +204,6 @@ Editor::update_current_screen ()
        }
 }
 
-void
-Editor::update_slower ()
-{
-               if (current_mixer_strip) {
-                       current_mixer_strip->update ();
-               }
-}
-
 void
 Editor::current_mixer_strip_removed ()
 {
@@ -264,6 +256,7 @@ Editor::session_going_away ()
        last_update_frame = 0;
        drag_info.item = 0;
        last_audition_region = 0;
+       last_canvas_frame = 0;
 
        /* hide all tracks */