mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-17 04:06:26 +01:00
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
2 changed files with 3 additions and 1 deletions
|
|
@ -2389,7 +2389,7 @@ ARDOUR_UI::transport_rec_enable_blink (bool onoff)
|
||||||
rec_button.set_active_state (Gtkmm2ext::ImplicitActive);
|
rec_button.set_active_state (Gtkmm2ext::ImplicitActive);
|
||||||
}
|
}
|
||||||
} else if (r == Session::Recording && h) {
|
} else if (r == Session::Recording && h) {
|
||||||
rec_button.set_active_state (Gtkmm2ext::ImplicitActive);
|
rec_button.set_active_state (Gtkmm2ext::ExplicitActive);
|
||||||
} else {
|
} else {
|
||||||
rec_button.unset_active_state ();
|
rec_button.unset_active_state ();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1431,6 +1431,8 @@ Session::set_state (const XMLNode& node, int version)
|
||||||
ControlProtocolManager::instance().set_protocol_states (*child);
|
ControlProtocolManager::instance().set_protocol_states (*child);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
update_have_rec_enabled_track ();
|
||||||
|
|
||||||
/* here beginneth the second phase ... */
|
/* here beginneth the second phase ... */
|
||||||
|
|
||||||
StateReady (); /* EMIT SIGNAL */
|
StateReady (); /* EMIT SIGNAL */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue