- Glib::RefPtr<Action> act = ActionManager::get_action (X_("Solo"), X_("solo-use-in-place"));
-
- if (act) {
- Glib::RefPtr<RadioAction> ract = Glib::RefPtr<RadioAction>::cast_dynamic (act);
- if (ract) {
- if (!ract->get_active ()) {
- /* We are turning SiP off, which means that AFL or PFL will be turned on
- shortly; don't update the solo model in the mean time, as if the currently
- configured listen position is not the one that is about to be turned on,
- things will go wrong.
- */
- _inhibit_solo_model_update = true;
- }
- Config->set_solo_control_is_listen_control (!ract->get_active());
- _inhibit_solo_model_update = false;
- }
- }
+ Glib::RefPtr<RadioAction> ract = ActionManager::get_radio_action (X_("Solo"), X_("solo-use-in-place"));
+ if (!ract->get_active ()) {
+ /* We are turning SiP off, which means that AFL or PFL will be turned on
+ shortly; don't update the solo model in the mean time, as if the currently
+ configured listen position is not the one that is about to be turned on,
+ things will go wrong.
+ */
+ _inhibit_solo_model_update = true;
+ }
+ Config->set_solo_control_is_listen_control (!ract->get_active());
+ _inhibit_solo_model_update = false;