[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:
Valeriy Kamyshniy 2015-02-14 14:11:29 +02:00
parent e4ecf8f10e
commit bdae5b232f

View file

@ -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();