summaryrefslogtreecommitdiff
path: root/libs/ardour/solo_isolate_control.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-10-14 11:16:42 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-10-14 11:42:41 -0400
commit92f1eb6be9df2ad0194872ea40c776b6c1983d08 (patch)
treed792d2f8f979277b52bfa60c8206a51823a83046 /libs/ardour/solo_isolate_control.cc
parenta4ad0a90d124f1e1b6d84fdf221d948ea3733f79 (diff)
Revert "change return type of AutomationControl::actually_set_value() from void to bool, to indicate if value was changed."
This reverts commit c104c9d4726f3ba1ecd352d13b88a57f2f964510.
Diffstat (limited to 'libs/ardour/solo_isolate_control.cc')
-rw-r--r--libs/ardour/solo_isolate_control.cc12
1 files changed, 4 insertions, 8 deletions
diff --git a/libs/ardour/solo_isolate_control.cc b/libs/ardour/solo_isolate_control.cc
index ebd046fba6..7964f7eb66 100644
--- a/libs/ardour/solo_isolate_control.cc
+++ b/libs/ardour/solo_isolate_control.cc
@@ -88,11 +88,11 @@ SoloIsolateControl::mod_solo_isolated_by_upstream (int32_t delta)
}
}
-bool
+void
SoloIsolateControl::actually_set_value (double val, PBD::Controllable::GroupControlDisposition gcd)
{
if (!_soloable.can_solo()) {
- return false;
+ return;
}
set_solo_isolated (val, gcd);
@@ -101,12 +101,8 @@ SoloIsolateControl::actually_set_value (double val, PBD::Controllable::GroupCont
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);
+ _session.set_dirty ();
}
void