13
0

Fix big clock window record-state info

When showing the clock window after starting to record,
the record-state was not correctly indicated.
This commit is contained in:
Robin Gareus 2021-02-27 19:25:23 +01:00
parent 81d833e938
commit 51cba19eaf
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -230,12 +230,9 @@ ARDOUR_UI::record_state_changed ()
ActionManager::set_sensitive (ActionManager::rec_sensitive_actions, !_session->actively_recording());
if (big_clock_window) {
if (_session->record_status () == Session::Recording && _session->have_rec_enabled_track ()) {
big_clock->set_active (true);
} else {
big_clock->set_active (false);
}
if (_session->record_status () == Session::Recording && _session->have_rec_enabled_track ()) {
big_clock->set_active (true);
} else {
big_clock->set_active (false);
}
}