Skip to content

Conversation

bjorn
Copy link
Member

@bjorn bjorn commented Oct 6, 2025

When adding a new property or class member, losing the focus of the "add value widget" always aborted the addition. Now, it instead adds the property when a name had been entered.

In this case, the value edit for the new property is not explicitly focused, to avoid disrupting the user's focus change.

A few direct signal-to-signal connections were exchanged for lambdas to avoid the "focus" parameter getting set based on a "checked" parameter in the original signals.

@bjorn bjorn mentioned this pull request Oct 7, 2025
4 tasks
When adding a new property or class member, losing the focus of the "add
value widget" always aborted the addition. Now, it instead adds the
property when a name had been entered.

In this case, the value edit for the new property is not explicitly
focused, to avoid disrupting the user's focus change.

A few direct signal-to-signal connections were exchanged for lambdas to
avoid the "focus" parameter getting set based on a "checked" parameter
in the original signals.
@bjorn bjorn force-pushed the add-named-property-on-focus-lost branch from 8134994 to 2de50b9 Compare October 15, 2025 14:32
@bjorn bjorn merged commit b519fc5 into master Oct 20, 2025
14 checks passed
@bjorn bjorn deleted the add-named-property-on-focus-lost branch October 20, 2025 12:33
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