diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-02-07 18:28:09 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-02-07 18:28:09 +0000 |
commit | efb1e10ff7ea68f229cf7766fd05623683dc2a6b (patch) | |
tree | d23396ac9b4cefbb8929bbd181a79e1c2ab37095 | |
parent | b3652ddc3d734b2e0728186d1e8c78d085613258 (diff) |
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
-rw-r--r-- | gtk2_ardour/ardour_ui.cc | 2 | ||||
-rw-r--r-- | libs/ardour/session_state.cc | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/gtk2_ardour/ardour_ui.cc b/gtk2_ardour/ardour_ui.cc index 306d0c2482..77de24263a 100644 --- a/gtk2_ardour/ardour_ui.cc +++ b/gtk2_ardour/ardour_ui.cc @@ -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 (); } diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc index 3c7ec0f780..59d465a3ef 100644 --- a/libs/ardour/session_state.cc +++ b/libs/ardour/session_state.cc @@ -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 */ |