Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: refresh model list when legacy addon adds notetype #2825

Merged
merged 2 commits into from
Nov 13, 2023

Conversation

kieranlblack
Copy link
Contributor

When legacy addons add note types, they automatically add the note type to the collection models. When this was detected, the dialog box presenting the list of models was not being updated due to an early return in the code. This commit adds a list refresh along this path of execution to ensure the gui is updated with the newly added model.

@kieranlblack kieranlblack changed the title refresh model list when legacy addon adds notetype fix: refresh model list when legacy addon adds notetype Nov 11, 2023
When legacy addons add note types, they automatically add the note type to the collection models. When this was detected, the dialog box presenting the list of models was not being updated due to an early return in the code. This commit adds a list refresh along this path of execution to ensure the gui is updated with the newly added model.
@kieranlblack kieranlblack force-pushed the legacy-addon-add-notetype-refresh branch from 4f262fd to 040f499 Compare November 12, 2023 22:57
@dae
Copy link
Member

dae commented Nov 13, 2023

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants