mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
consistent use of context-menu popups
This commit is contained in:
parent
e5d48a8544
commit
b3722f7063
13 changed files with 28 additions and 28 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue