mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-23 13:47:24 +01:00
Set mouse-object mode is for the Editor (not piano-roll)
This commit is contained in:
parent
769e61ee4c
commit
037d54b17f
2 changed files with 2 additions and 2 deletions
|
|
@ -288,7 +288,7 @@ EditorSections::selection_changed ()
|
|||
we cannot use get_mouse_mode_action() here
|
||||
*/
|
||||
std::cerr << "A\n";
|
||||
tact = ActionManager::get_toggle_action (X_("Editing"), "set-mouse-mode-object-range");
|
||||
tact = ActionManager::get_toggle_action (X_("Editor"), "set-mouse-mode-object-range");
|
||||
if (!tact) {
|
||||
/* missing action */
|
||||
fatal << X_("programming error: missing mouse-mode-object-range action") << endmsg;
|
||||
|
|
|
|||
|
|
@ -315,7 +315,7 @@ TimeInfoBox::selection_changed ()
|
|||
|
||||
case Editing::MouseRange:
|
||||
if (selection.time.empty()) {
|
||||
Glib::RefPtr<ToggleAction> tact = ActionManager::get_toggle_action (X_("Editing"), "set-mouse-mode-object-range");
|
||||
Glib::RefPtr<ToggleAction> tact = ActionManager::get_toggle_action (X_("Editor"), "set-mouse-mode-object-range");
|
||||
|
||||
if (tact->get_active() && !selection.regions.empty()) {
|
||||
/* show selected regions */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue