Skip to content

bonsai: don't raise when the active drawing has been removed - #9485

Open
brunopostle wants to merge 1 commit into
v0.9.0from
bonsai-drawings-active-drawing-guard
Open

brunopostle wants to merge 1 commit into
v0.9.0from
bonsai-drawings-active-drawing-guard

Conversation

@brunopostle

Copy link
Copy Markdown
Contributor

DocProperties.get_active_drawing() looked the active drawing up with by_id(), which raises once that drawing no longer exists, such as after a patch recipe removed it.

This is a fix for a glitch revealed by the general arrangement patch recipe #9484 but can be applied independently

Generated with the assistance of an AI coding tool.

DocProperties.get_active_drawing() looked the active drawing up with
by_id(), which raises once that drawing no longer exists, such as after
a patch recipe removed it.

Generated with the assistance of an AI coding tool.
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.

1 participant