Allow enter to be pressed to apply.

git-svn-id: svn://localhost/ardour2/branches/3.0@9891 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-07-17 20:11:37 +00:00
parent 982bfd08db
commit 8426588d6e

View File

@ -38,6 +38,7 @@ ControlPointDialog::ControlPointDialog (ControlPoint* p)
double const y_fraction = 1.0 - (p->get_y () / p->line().height ());
value_.set_text (p->line().fraction_to_string (y_fraction));
value_.set_activates_default ();
Gtk::HBox* b = Gtk::manage (new Gtk::HBox ());