1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-04 10:43:08 +01:00

Fix bug 2053

Simply adding the FixScrollbars refresh code is sufficient.
This commit is contained in:
Pokechu22
2019-01-04 20:22:43 -08:00
committed by James Crook
parent 0ced210801
commit ba9b081751

View File

@@ -888,7 +888,8 @@ void WaveTrackMenuTable::OnMergeStereo(wxCommandEvent &)
pTrack->GetName()),
_("Make Stereo"));
mpData->result = RefreshCode::RefreshAll;
using namespace RefreshCode;
mpData->result = RefreshAll | FixScrollbars;
}
/// Split a stereo track (or more-than-stereo?) into two (or more) tracks...
@@ -923,8 +924,6 @@ void WaveTrackMenuTable::SplitStereo(bool stereo)
for (auto channel : channels)
// Make tracks the same height
channel->SetHeight( averageHeight );
mpData->result = RefreshCode::RefreshAll;
}
/// Swap the left and right channels of a stero track...
@@ -970,7 +969,8 @@ void WaveTrackMenuTable::OnSplitStereo(wxCommandEvent &)
pTrack->GetName()),
_("Split"));
mpData->result = RefreshCode::RefreshAll;
using namespace RefreshCode;
mpData->result = RefreshAll | FixScrollbars;
}
/// Split a stereo track into two mono tracks...
@@ -984,7 +984,8 @@ void WaveTrackMenuTable::OnSplitStereoMono(wxCommandEvent &)
pTrack->GetName()),
_("Split to Mono"));
mpData->result = RefreshCode::RefreshAll;
using namespace RefreshCode;
mpData->result = RefreshAll | FixScrollbars;
}
//=============================================================================