mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 07:14:56 +01:00
Allow a dialogue containing an audioclock to be
activated by a enter button press on the clock. git-svn-id: svn://localhost/ardour2/branches/3.0@10580 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
a45aad010f
commit
eb2870eee6
2 changed files with 4 additions and 2 deletions
|
|
@ -747,6 +747,10 @@ AudioClock::edit_next_field ()
|
|||
bool
|
||||
AudioClock::on_key_press_event (GdkEventKey* ev)
|
||||
{
|
||||
if (editing_field == 0) {
|
||||
return false;
|
||||
}
|
||||
|
||||
/* return true for keys that we MIGHT use
|
||||
at release
|
||||
*/
|
||||
|
|
@ -2015,4 +2019,3 @@ AudioClock::set_off (bool yn)
|
|||
|
||||
set (_canonical_time, true);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -211,7 +211,6 @@ CairoEditableText::CairoEditableText (boost::shared_ptr<CairoFontDescription> fo
|
|||
set_flags (Gtk::CAN_FOCUS);
|
||||
|
||||
set_can_default (true);
|
||||
set_receives_default (true);
|
||||
}
|
||||
|
||||
CairoEditableText::~CairoEditableText ()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue