Notice edits made to spinbuttons via numbers on the keyboard. Fixes #3413.
authorCarl Hetherington <carl@carlh.net>
Sat, 11 Dec 2010 23:59:34 +0000 (23:59 +0000)
committerCarl Hetherington <carl@carlh.net>
Sat, 11 Dec 2010 23:59:34 +0000 (23:59 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@8250 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/edit_note_dialog.cc

index 8466cdfa85a709dc3d1f7a8dd65ae70dc5b8b5f3..c4cfe11218703670a8570a9aca502576eaa86f65 100644 (file)
@@ -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;