mirror of
https://github.com/cookiengineer/audacity
synced 2025-09-09 17:03:24 +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,6 +730,7 @@ BEGIN_POPUP_MENU(WaveTrackMenuTable)
|
|||||||
|
|
||||||
POPUP_MENU_SEPARATOR()
|
POPUP_MENU_SEPARATOR()
|
||||||
|
|
||||||
|
if ( WaveTrackSubViews::slots() > 1 )
|
||||||
POPUP_MENU_CHECK_ITEM(OnMultiViewID, XO("&Multi-view"), OnMultiView)
|
POPUP_MENU_CHECK_ITEM(OnMultiViewID, XO("&Multi-view"), OnMultiView)
|
||||||
|
|
||||||
if ( view.GetMultiView() ) {
|
if ( view.GetMultiView() ) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user