13
0

audio clocks that are not editable are not focusable either

This commit is contained in:
Paul Davis 2020-03-11 09:07:28 -06:00
parent 96daa4036a
commit 6ad3ce7bff

View File

@ -109,7 +109,9 @@ AudioClock::AudioClock (const string& clock_name, bool transient, const string&
, xscale (1.0)
, yscale (1.0)
{
set_flags (CAN_FOCUS);
if (editable) {
set_flags (CAN_FOCUS);
}
_layout = Pango::Layout::create (get_pango_context());
_layout->set_attributes (normal_attributes);