mirror of
https://github.com/cookiengineer/audacity
synced 2025-09-08 08:30:02 +02:00
Add the multi-view menu item only if there are multiple sub-views...
... anticipating possible subtraction of all spectrogram code into an optional plug-in in a later release
This commit is contained in:
parent
ae1644627f
commit
98bd937389
@ -730,7 +730,8 @@ BEGIN_POPUP_MENU(WaveTrackMenuTable)
|
||||
|
||||
POPUP_MENU_SEPARATOR()
|
||||
|
||||
POPUP_MENU_CHECK_ITEM(OnMultiViewID, XO("&Multi-view"), OnMultiView)
|
||||
if ( WaveTrackSubViews::slots() > 1 )
|
||||
POPUP_MENU_CHECK_ITEM(OnMultiViewID, XO("&Multi-view"), OnMultiView)
|
||||
|
||||
if ( view.GetMultiView() ) {
|
||||
POPUP_MENU_CHECK_ITEM(OnWaveformID, XO("Wa&veform"), OnSetDisplay)
|
||||
|
Loading…
x
Reference in New Issue
Block a user