Fix copy/paste typo -- MacOSX builds
[ardour.git] / libs / ardour / solo_safe_control.cc
index 7e8de603a7b65c2779f450e8896f42487acd19e7..971b97033dd224659d47445c3a925d78fe6a1d97 100644 (file)
@@ -36,7 +36,7 @@ SoloSafeControl::SoloSafeControl (Session& session, std::string const & name)
        _list->set_interpolation(Evoral::ControlList::Discrete);
 }
 
-bool
+void
 SoloSafeControl::actually_set_value (double val, PBD::Controllable::GroupControlDisposition gcd)
 {
        _solo_safe = (val ? true : false);
@@ -45,12 +45,7 @@ SoloSafeControl::actually_set_value (double val, PBD::Controllable::GroupControl
           be retrieved by AutomationControl::get_value (), and emits Changed
        */
 
-       if (AutomationControl::actually_set_value (val, gcd)) {
-           _session.set_dirty ();
-           return true;
-       }
-
-       return false;
+       AutomationControl::actually_set_value (val, gcd);
 }
 
 double