harden TempoMap::next_tempo_section () a bit.
[ardour.git] / libs / ardour / phase_control.cc
index bc237893a00b4e7e6f9ca8198d557a1832540696..04dd3ce361151c1b298f456e405b260bc868ac6c 100644 (file)
@@ -19,7 +19,7 @@
 #include "ardour/phase_control.h"
 #include "ardour/session.h"
 
-#include "i18n.h"
+#include "pbd/i18n.h"
 
 using namespace std;
 using namespace PBD;
@@ -49,7 +49,6 @@ PhaseControl::set_phase_invert (uint32_t c, bool yn)
        if (_phase_invert[c] != yn) {
                _phase_invert[c] = yn;
                AutomationControl::actually_set_value (_phase_invert.to_ulong(), Controllable::NoGroup);
-               _session.set_dirty ();
        }
 }
 
@@ -59,8 +58,6 @@ PhaseControl::set_phase_invert (boost::dynamic_bitset<> p)
        if (_phase_invert != p) {
                _phase_invert = p;
                AutomationControl::actually_set_value (_phase_invert.to_ulong(), Controllable::NoGroup);
-               Changed (true, Controllable::NoGroup); /* EMIT SIGNAL */
-               _session.set_dirty ();
        }
 }