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

Update ProjectChooser button properly when projects add/removed #1369

Merged
merged 4 commits into from
Jan 21, 2024

Conversation

jeremypw
Copy link
Collaborator

@jeremypw jeremypw commented Aug 17, 2023

Fixes #1368

Existing code was referencing a model item that was already removed.

Refactor add/remove rows from project_listbox so that their position always matches that in the model. The new code will not cope with multiple items being both removed from and added to the model simultaneously (one signal). This does not happen in practice - projects are either being removed or added at any one time.

@jeremypw jeremypw marked this pull request as draft August 18, 2023 12:39
@jeremypw jeremypw marked this pull request as ready for review January 19, 2024 11:27
@jeremypw jeremypw requested a review from a team January 19, 2024 11:28
@colinkiama colinkiama merged commit 1626d85 into master Jan 21, 2024
6 checks passed
@colinkiama colinkiama deleted the fix-projectchooser-update branch January 21, 2024 13:12
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.

Project chooser not updated after closing folders
2 participants