mirror of
https://github.com/cookiengineer/audacity
synced 2026-01-08 09:27:11 +01:00
Bug2004: Opening Mixer Board with a Note track crashed...
... Just one null check was needed, but I also add another, and use a wxWeakRef pointer, for more safety.
This commit is contained in:
@@ -146,7 +146,7 @@ private:
|
||||
#ifdef EXPERIMENTAL_MIDI_OUT
|
||||
MixerTrackSlider* mSlider_Velocity;
|
||||
#endif
|
||||
MeterPanel* mMeter;
|
||||
wxWeakRef<MeterPanel> mMeter;
|
||||
|
||||
public:
|
||||
DECLARE_EVENT_TABLE()
|
||||
|
||||
Reference in New Issue
Block a user