mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-01 03:17:39 +01:00
[Summary] Bugs fixed: Time info (START, END and LENGTH) display switched off upon finished splitting region by Split tool and Range Select tool.
This commit is contained in:
parent
e4ecf8f10e
commit
bdae5b232f
1 changed files with 2 additions and 4 deletions
|
|
@ -187,6 +187,7 @@ TimeInfoBox::selection_changed ()
|
|||
|
||||
switch (Editor::instance().current_mouse_mode()) {
|
||||
|
||||
case Editing::MouseCut: // In Tracks cut finishes with object selection.
|
||||
case Editing::MouseObject:
|
||||
if (Editor::instance().internal_editing()) {
|
||||
/* displaying MIDI note selection is tricky */
|
||||
|
|
@ -244,10 +245,7 @@ TimeInfoBox::selection_changed ()
|
|||
|
||||
case Editing::MouseRange:
|
||||
if (selection.time.empty()) {
|
||||
Glib::RefPtr<Action> act = ActionManager::get_action ("MouseMode", "set-mouse-mode-object-range");
|
||||
Glib::RefPtr<ToggleAction> tact = Glib::RefPtr<ToggleAction>::cast_dynamic (act);
|
||||
|
||||
if (tact && tact->get_active() && !selection.regions.empty()) {
|
||||
if (!selection.regions.empty()) {
|
||||
/* show selected regions */
|
||||
s = selection.regions.start();
|
||||
e = selection.regions.end_frame();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue