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:
parent
81d833e938
commit
51cba19eaf
@ -230,12 +230,9 @@ ARDOUR_UI::record_state_changed ()
|
|||||||
|
|
||||||
ActionManager::set_sensitive (ActionManager::rec_sensitive_actions, !_session->actively_recording());
|
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 ()) {
|
||||||
if (_session->record_status () == Session::Recording && _session->have_rec_enabled_track ()) {
|
big_clock->set_active (true);
|
||||||
big_clock->set_active (true);
|
} else {
|
||||||
} else {
|
big_clock->set_active (false);
|
||||||
big_clock->set_active (false);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user