do not reset session for MonitorSection just because monitor out was removed
[ardour.git] / gtk2_ardour / route_processor_selection.cc
index ed182db415305a77697eed2a86c6040de9e37dcf..50a8a75b9c96a490b04ba0561a32b3c7a91e5197 100644 (file)
@@ -21,7 +21,6 @@
 #include <sigc++/bind.h>
 
 #include "pbd/error.h"
-#include "pbd/i18n.h"
 
 #include "ardour/selection.h"
 #include "ardour/session.h"
@@ -34,6 +33,8 @@
 #include "route_processor_selection.h"
 #include "route_ui.h"
 
+#include "pbd/i18n.h"
+
 using namespace std;
 using namespace ARDOUR;
 using namespace PBD;
@@ -43,16 +44,6 @@ RouteProcessorSelection::RouteProcessorSelection (SessionHandlePtr& s, AxisViewP
 {
 }
 
-RouteProcessorSelection&
-RouteProcessorSelection::operator= (const RouteProcessorSelection& other)
-{
-       if (&other != this) {
-               (*((ProcessorSelection*) this)) = (*((ProcessorSelection const *) &other));
-               axes = other.axes;
-       }
-       return *this;
-}
-
 bool
 operator== (const RouteProcessorSelection& a, const RouteProcessorSelection& b)
 {
@@ -180,6 +171,7 @@ RouteProcessorSelection::set (AxisView* r)
        if (!shp.session()) {
                return;
        }
+       PresentationInfo::ChangeSuspender cs;
        shp.session()->selection().clear_stripables ();
        add (r, true);
 }