mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-02 00:29:41 +02:00
Bug2112: Crash opening Equalization settings for Macro...
... It was introduced at 2e11844f6a36d4d5218d154db3fb9dfe0996f8c0, so since 2.3.1 A null check on inputTracks() was needed. This appears to be the only effect where inputTracks() was called while populating its dialog, so there should not be any similar crashes with other effects.
This commit is contained in:
parent
e4d6e8569f
commit
5797637528
@ -620,7 +620,11 @@ void EffectEqualization::PopulateOrExchange(ShuttleGui & S)
|
||||
|
||||
LoadCurves();
|
||||
|
||||
const auto t = *inputTracks()->Any< const WaveTrack >().first;
|
||||
auto trackList = inputTracks();
|
||||
const auto t = trackList
|
||||
? *trackList->Any< const WaveTrack >().first
|
||||
: nullptr
|
||||
;
|
||||
mHiFreq =
|
||||
(t
|
||||
? t->GetRate()
|
||||
|
Loading…
x
Reference in New Issue
Block a user