L: remove redundant or impossible meter points in meter context menu
This commit is contained in:
parent
62573f253d
commit
cf89326522
@ -2087,11 +2087,16 @@ MixerStrip::popup_level_meter_menu (GdkEventButton* ev)
|
|||||||
RadioMenuItem::Group group;
|
RadioMenuItem::Group group;
|
||||||
|
|
||||||
PBD::Unwinder<bool> uw (_suspend_menu_callbacks, true);
|
PBD::Unwinder<bool> uw (_suspend_menu_callbacks, true);
|
||||||
|
#ifndef LIVETRAX
|
||||||
add_level_meter_item_point (items, group, _("Input"), MeterInput);
|
add_level_meter_item_point (items, group, _("Input"), MeterInput);
|
||||||
add_level_meter_item_point (items, group, _("Pre Fader"), MeterPreFader);
|
add_level_meter_item_point (items, group, _("Pre Fader"), MeterPreFader);
|
||||||
add_level_meter_item_point (items, group, _("Post Fader"), MeterPostFader);
|
add_level_meter_item_point (items, group, _("Post Fader"), MeterPostFader);
|
||||||
add_level_meter_item_point (items, group, _("Output"), MeterOutput);
|
add_level_meter_item_point (items, group, _("Output"), MeterOutput);
|
||||||
add_level_meter_item_point (items, group, _("Custom"), MeterCustom);
|
add_level_meter_item_point (items, group, _("Custom"), MeterCustom);
|
||||||
|
#else
|
||||||
|
add_level_meter_item_point (items, group, _("Input"), MeterInput);
|
||||||
|
add_level_meter_item_point (items, group, _("Output"), MeterOutput);
|
||||||
|
#endif
|
||||||
|
|
||||||
if (gpm.meter_channels().n_audio() == 0) {
|
if (gpm.meter_channels().n_audio() == 0) {
|
||||||
m->popup (ev->button, ev->time);
|
m->popup (ev->button, ev->time);
|
||||||
|
Loading…
Reference in New Issue
Block a user