Sort bundle names in mixer strip menus alphabetically to prevent them being re-ordere...
[ardour.git] / gtk2_ardour / edit_note_dialog.cc
index 8466cdfa85a709dc3d1f7a8dd65ae70dc5b8b5f3..19e072cf4dff1656aafcb6eebfc689cc3005d824 100644 (file)
@@ -23,6 +23,7 @@
 #include "edit_note_dialog.h"
 #include "canvas-note-event.h"
 #include "midi_region_view.h"
+#include "i18n.h"
 
 using namespace Gtk;
 
@@ -111,6 +112,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;