Le0Michine / FusionGridfinityGenerator

Other
629 stars 40 forks source link

Error when collapsing or expanding sections #10

Closed Cellivar closed 1 year ago

Cellivar commented 1 year ago

I use the default Gridfinity dimensions so I clicked the arrow at the top to collapse the "Basic Sizes" section. I got this error in a popup twice.

image

An unknonwn error occurred, please validate your inputs and try again:
Traceback (most recent call last):
  File "C:\git/FusionGridfinityGenerator\commands\commandCreateBin\entry.py", line 709, in command_input_changed
    if changed_input.parentCommandInput.id == BIN_COMPARTMENTS_TABLE_ID:
AttributeError: 'NoneType' object has no attribute 'id'

It didn't appear to affect the generation of the bins, just messed with the UI a bit.

Le0Michine commented 1 year ago

Hi, thanks for reporting this, I found an issue and updated the code, it should be addressed in the latest version. Also it should be able to remember collapsed state across multiple usages until you exist fusion

Le0Michine commented 1 year ago

Feel free to reopen if issue persists for you with the latest version

Cellivar commented 1 year ago

Updated and working well, thank you!