mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-16 16:10:06 +02:00
Fix bug 2053
Simply adding the FixScrollbars refresh code is sufficient.
This commit is contained in:
parent
0ced210801
commit
ba9b081751
@ -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;
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
|
Loading…
x
Reference in New Issue
Block a user