mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-02 08:59:28 +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()),
|
pTrack->GetName()),
|
||||||
_("Make Stereo"));
|
_("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...
|
/// 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)
|
for (auto channel : channels)
|
||||||
// Make tracks the same height
|
// Make tracks the same height
|
||||||
channel->SetHeight( averageHeight );
|
channel->SetHeight( averageHeight );
|
||||||
|
|
||||||
mpData->result = RefreshCode::RefreshAll;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Swap the left and right channels of a stero track...
|
/// Swap the left and right channels of a stero track...
|
||||||
@ -970,7 +969,8 @@ void WaveTrackMenuTable::OnSplitStereo(wxCommandEvent &)
|
|||||||
pTrack->GetName()),
|
pTrack->GetName()),
|
||||||
_("Split"));
|
_("Split"));
|
||||||
|
|
||||||
mpData->result = RefreshCode::RefreshAll;
|
using namespace RefreshCode;
|
||||||
|
mpData->result = RefreshAll | FixScrollbars;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Split a stereo track into two mono tracks...
|
/// Split a stereo track into two mono tracks...
|
||||||
@ -984,7 +984,8 @@ void WaveTrackMenuTable::OnSplitStereoMono(wxCommandEvent &)
|
|||||||
pTrack->GetName()),
|
pTrack->GetName()),
|
||||||
_("Split to Mono"));
|
_("Split to Mono"));
|
||||||
|
|
||||||
mpData->result = RefreshCode::RefreshAll;
|
using namespace RefreshCode;
|
||||||
|
mpData->result = RefreshAll | FixScrollbars;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
|
Loading…
x
Reference in New Issue
Block a user