mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-10 22:56:26 +01:00
TrackPanel::mpClickedTrack is a safe weak_ptr
This commit is contained in:
@@ -527,7 +527,7 @@ protected:
|
||||
wxSize vrulerSize;
|
||||
|
||||
protected:
|
||||
Track *mpClickedTrack {};
|
||||
std::weak_ptr<Track> mpClickedTrack;
|
||||
// TrackPanel is not responsible for memory management:
|
||||
UIHandle *mUIHandle {};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user