From 415435628813223e6f175af293976e2105986c91 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Mon, 7 Jul 2025 11:29:49 +0500 Subject: [PATCH] bim.operator - document resetting screen behaviour --- src/bonsai/bonsai/bim/operator.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bonsai/bonsai/bim/operator.py b/src/bonsai/bonsai/bim/operator.py index 0a1b5111fb..76d625d24e 100644 --- a/src/bonsai/bonsai/bim/operator.py +++ b/src/bonsai/bonsai/bim/operator.py @@ -917,6 +917,7 @@ def update_enum_property_search_prop(self, context): self.first_launch = False else: if not self.should_click_ok: + # This closes popup immediately, avoiding the need to click "OK". context.window.screen = context.window.screen if predefined_type: try: @@ -1318,6 +1319,7 @@ def update_attribute_search_value(self: "BIM_OT_attribute_search_values", contex self.first_launch = False else: if not should_click_ok: + # This closes popup immediately, avoiding the need to click "OK". context.window.screen = context.window.screen