allow the use of static_cast for MGR ghost events (speeds things up a bit).
[ardour.git] / gtk2_ardour / editor_selection.cc
index f2681b58e25e5ea32379c95a02314a26f05e1278..b45ff8c1bb3e515d6e036c12bb03bf68fc3e5c3c 100644 (file)
@@ -1251,7 +1251,6 @@ Editor::sensitize_the_right_region_actions ()
                _region_actions->get_action("set-region-sync-position")->set_sensitive (false);
                _region_actions->get_action("trim-front")->set_sensitive (false);
                _region_actions->get_action("trim-back")->set_sensitive (false);
-               _region_actions->get_action("split-region")->set_sensitive (false);
                _region_actions->get_action("place-transient")->set_sensitive (false);
        }
 
@@ -1388,10 +1387,6 @@ Editor::region_selection_changed ()
                }
        }
 
-       if (_session && !_session->transport_rolling() && !selection->regions.empty()) {
-               maybe_locate_with_edit_preroll (selection->regions.start());
-       }
-
        /* propagate into backend */
 
        if (_session) {