diff options
Diffstat (limited to 'gtk2_ardour/automation_controller.cc')
-rw-r--r-- | gtk2_ardour/automation_controller.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/automation_controller.cc b/gtk2_ardour/automation_controller.cc index 21e6b429cb..0005589100 100644 --- a/gtk2_ardour/automation_controller.cc +++ b/gtk2_ardour/automation_controller.cc @@ -296,7 +296,7 @@ AutomationController::on_button_release(GdkEventButton* ev) MenuList& items = menu->items(); items.push_back(MenuElem(_("Select Note..."), sigc::mem_fun(*this, &AutomationController::run_note_select_dialog))); - menu->popup(1, ev->time); + menu->popup(ev->button, ev->time); return true; } else if (desc.unit == ARDOUR::ParameterDescriptor::HZ) { Gtk::Menu* menu = manage(new Menu()); @@ -320,7 +320,7 @@ AutomationController::on_button_release(GdkEventButton* ev) (double)beats))); } } - menu->popup(1, ev->time); + menu->popup(ev->button, ev->time); return true; } |