PhonologicalCorpusTools / SLPAA

5 stars 0 forks source link

188 remove ghost versions of unnecessary articulator and/or timing selection panels from top of module dialogs #292

Closed kvesik closed 5 months ago

kvesik commented 5 months ago

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.