audio clocks that are not editable are not focusable either
This commit is contained in:
parent
96daa4036a
commit
6ad3ce7bff
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user