Previously, the articulator selection panel and the x-slot linking panel were created no matter what, and only added to the module specification layout if relevant. This allowed for later references to these panels without having to check for existence first. However, this approach seemed to be leaving 'ghost' traces of those panels even though they were never added to the layout.
The new approach is to only create the above panels if they are relevant. This means that further references to the panels have to be existence-checked first, to make sure we don't get any does-not-exist or NoneType errors.
Previously, the articulator selection panel and the x-slot linking panel were created no matter what, and only added to the module specification layout if relevant. This allowed for later references to these panels without having to check for existence first. However, this approach seemed to be leaving 'ghost' traces of those panels even though they were never added to the layout.
The new approach is to only create the above panels if they are relevant. This means that further references to the panels have to be existence-checked first, to make sure we don't get any does-not-exist or NoneType errors.