fix coloring of global rec-enable button when actively recording; fix related issue when loading a session with an already rec-enabled track
git-svn-id: svn://localhost/ardour2/branches/3.0@11468 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
b3652ddc3d
commit
efb1e10ff7
@ -2389,7 +2389,7 @@ ARDOUR_UI::transport_rec_enable_blink (bool onoff)
|
||||
rec_button.set_active_state (Gtkmm2ext::ImplicitActive);
|
||||
}
|
||||
} else if (r == Session::Recording && h) {
|
||||
rec_button.set_active_state (Gtkmm2ext::ImplicitActive);
|
||||
rec_button.set_active_state (Gtkmm2ext::ExplicitActive);
|
||||
} else {
|
||||
rec_button.unset_active_state ();
|
||||
}
|
||||
|
@ -1431,6 +1431,8 @@ Session::set_state (const XMLNode& node, int version)
|
||||
ControlProtocolManager::instance().set_protocol_states (*child);
|
||||
}
|
||||
|
||||
update_have_rec_enabled_track ();
|
||||
|
||||
/* here beginneth the second phase ... */
|
||||
|
||||
StateReady (); /* EMIT SIGNAL */
|
||||
|
Loading…
Reference in New Issue
Block a user