mirror of
https://github.com/cookiengineer/audacity
synced 2026-01-02 06:08:44 +01:00
Bug 2493 - No command for setting multi-view
Bug 2460 - Enh: Can't select "Multi-view" as default view mode in Tracks preferences This fixes both.
This commit is contained in:
@@ -929,6 +929,12 @@ bool WaveTrackView::ToggleSubView(Display display)
|
||||
// Be sure the sequence in which the other views appear is determinate.
|
||||
void WaveTrackView::DoSetDisplay(Display display, bool exclusive)
|
||||
{
|
||||
if (display == WaveTrackViewConstants::Multiview) {
|
||||
SetMultiView(true);
|
||||
display = WaveTrackViewConstants::Waveform;
|
||||
exclusive = false;
|
||||
}
|
||||
|
||||
// Some generality here anticipating more than two views.
|
||||
// The order of sub-views in the array is not specified, so make it definite
|
||||
// by sorting by the view type constants.
|
||||
|
||||
Reference in New Issue
Block a user