Remove unused and uncompiled panner code.
[ardour.git] / gtk2_ardour / edit_note_dialog.cc
index b84be45413d1752bf65bc537f1eb7b55985e3dc9..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;
 
@@ -150,7 +157,7 @@ EditNoteDialog::run ()
 
        _region_view->apply_diff ();
 
-        _event->set_selected (_event->selected()); // change color 
+       _event->set_selected (_event->selected()); // change color 
        
        return r;
 }