mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 13:45:43 +01:00
cue editor/piano roll: starting to get mode buttons working and keybindings too
This commit is contained in:
parent
009a0e6ffb
commit
fcf5bb88d5
20 changed files with 540 additions and 198 deletions
|
|
@ -313,7 +313,11 @@ TimeInfoBox::selection_changed ()
|
|||
|
||||
case Editing::MouseRange:
|
||||
if (selection.time.empty()) {
|
||||
Glib::RefPtr<ToggleAction> tact = ActionManager::get_toggle_action ("MouseMode", "set-mouse-mode-object-range");
|
||||
/* XXX we really ought to be calling
|
||||
::get_mouse_mode_action() here but there is no actual
|
||||
mouse emode enum for smart mode (object-range).
|
||||
*/
|
||||
Glib::RefPtr<ToggleAction> tact = ActionManager::get_toggle_action (PublicEditor::instance().editor_name(), "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