JasperJeuken / QNodeEditor

Node editor for PyQt5
BSD 3-Clause "New" or "Revised" License
20 stars 4 forks source link

Combobox Entry Loading Fix #18

Closed fiveoverthree closed 1 month ago

fiveoverthree commented 2 months ago

When using a dict to set the values of a combobox, the ordering of the dict may not be preserved when loading the data from a file in a new instance. Therefore, this pull request aims to use the data provided to the entry to determine the current index, mitigating this problem.

fiveoverthree commented 1 month ago

This fix did not work when no data was provided to the combobox. This issue is now resolved in the latest commit.