mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
audio clocks that are not editable are not focusable either
This commit is contained in:
parent
96daa4036a
commit
6ad3ce7bff
1 changed files with 3 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue