diff options
author | Carl Hetherington <carl@carlh.net> | 2010-12-11 23:59:34 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-12-11 23:59:34 +0000 |
commit | 060048685729cce62085c057ad97da3bdf351517 (patch) | |
tree | 4dec9b306e89ca6f3160ebb743e97d673c788f33 /gtk2_ardour/edit_note_dialog.cc | |
parent | ccb7a5a7949d834dca0724084a109a4692145d7a (diff) |
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
Diffstat (limited to 'gtk2_ardour/edit_note_dialog.cc')
-rw-r--r-- | gtk2_ardour/edit_note_dialog.cc | 7 |
1 files changed, 7 insertions, 0 deletions
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; |