fix all manner of wrongness with port buffer offsets
[ardour.git] / gtk2_ardour / edit_note_dialog.cc
index 0d22e0ae95a9e26368ed9f3a5bb747d3fec8ac7b..c4cfe11218703670a8570a9aca502576eaa86f65 100644 (file)
@@ -111,7 +111,14 @@ EditNoteDialog::run ()
                return r;
        }
 
-       _region_view->start_diff_command (_("edit note"));
+       /* 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;