Change default for region selection after split on Mixbus
authorColin Fletcher <colin.m.fletcher@googlemail.com>
Wed, 17 Dec 2014 18:48:50 +0000 (18:48 +0000)
committerColin Fletcher <colin.m.fletcher@googlemail.com>
Fri, 19 Dec 2014 17:12:05 +0000 (17:12 +0000)
Mixbus prefers that both the newly-created regions as well as the existing
selection are selected after splitting selected regions: make this the
default on Mixbus.

libs/ardour/ardour/rc_configuration_vars.h

index 0fd19aacd39c655fca2de8bedd9e9805bf0ccb39..2a6ac9cba6a5fb4d9501c6ae9e18c5e65254d9de 100644 (file)
@@ -91,7 +91,8 @@ CONFIG_VARIABLE (bool, region_boundaries_from_selected_tracks, "region-boundarie
 CONFIG_VARIABLE (bool, region_boundaries_from_onscreen_tracks, "region-boundaries-from-onscreen_tracks", true)
 CONFIG_VARIABLE (bool, autoscroll_editor, "autoscroll-editor", true)
 CONFIG_VARIABLE (FadeShape, default_fade_shape, "default-fade-shape", FadeLinear)
-CONFIG_VARIABLE (RegionSelectionAfterSplit, region_selection_after_split, "selection-after-split", None)
+CONFIG_VARIABLE (RegionSelectionAfterSplit, region_selection_after_split, "region-selection-after-split",
+               g_getenv("MIXBUS") ? ExistingNewlyCreatedBoth : None) // we can't use Profile->get_mixbus() here: Profile hasn't been created
 
 /* monitoring, mute, solo etc */