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:
@@ -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 ()
|
||||
|
||||
Reference in New Issue
Block a user