From 060048685729cce62085c057ad97da3bdf351517 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 11 Dec 2010 23:59:34 +0000 Subject: [PATCH] Notice edits made to spinbuttons via numbers on the keyboard. Fixes #3413. git-svn-id: svn://localhost/ardour2/branches/3.0@8250 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/edit_note_dialog.cc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gtk2_ardour/edit_note_dialog.cc b/gtk2_ardour/edit_note_dialog.cc index 8466cdfa85..c4cfe11218 100644 --- a/gtk2_ardour/edit_note_dialog.cc +++ b/gtk2_ardour/edit_note_dialog.cc @@ -111,6 +111,13 @@ EditNoteDialog::run () return r; } + /* These calls mean that if a value is entered using the keyboard + it will be returned by the get_value_as_int()s below. + */ + _channel.update (); + _pitch.update (); + _velocity.update (); + _region_view->start_note_diff_command (_("edit note")); bool had_change = false; -- 2.30.2