PBD::strip_whitespace_edges() returns the empty string if the passed string is
[ardour.git] / gtk2_ardour / audio_time_axis.cc
index f8ace8244f9f04fbc3cf480b54ae26ee97f7886e..4ab0428a5100ff6f5ce20d1d89b9ca4b59674e2d 100644 (file)
@@ -30,7 +30,6 @@
 
 #include <pbd/error.h>
 #include <pbd/stl_delete.h>
-#include <pbd/whitespace.h>
 #include <pbd/memento_command.h>
 
 #include <gtkmm2ext/gtk_ui.h>
@@ -98,19 +97,11 @@ AudioTimeAxisView::AudioTimeAxisView (PublicEditor& ed, Session& sess, boost::sh
 
        ignore_toggle = false;
 
-       mute_button->set_active (false);
-       solo_button->set_active (false);
-       
        if (is_audio_track())
                controls_ebox.set_name ("AudioTimeAxisViewControlsBaseUnselected");
        else // bus
                controls_ebox.set_name ("AudioBusControlsBaseUnselected");
 
-       /* map current state of the route */
-
-       redirects_changed (0);
-       reset_redirect_automation_curves ();
-
        ensure_xml_node ();
 
        set_state (*xml_node);