Closed martinfabian closed 3 years ago
Easy fix is to embed the code after the assignment to the local variable track
within if track then ... end
.
A better fix would be to not at all show the quick FX part of the menu if track == nil
. This requires splitting the menu string into two parts, and putting them together (or not) at the point of showing the menu. Basically calling initMenu
(with a parameter) before showing it.
Fixed in v0.9.8. The "better fix" described above was applied.
If the right-click menu is opened not over any track area (such as the header or footer) and an FX is selected, MFXlist crashes. Must check for hovered ´tracks not being nil!