No close button on EditBehaviourDialog #2341
Replies: 3 comments
-
Adding a cancel button is tricky because any change in the properties must result in calls to refactor the whole project (to rename the properties). Right now, any renaming is instantly applied, so we can't cancel. To have a cancel button, the dialog must be reworked so that Apply is launching the refactoring of the project to rename the properties that were renamed. |
Beta Was this translation helpful? Give feedback.
-
Huh is it that difficult? I would have thought this would only have been a matter of storing the values in the state and adding to the apply button a function that applies the states values to the behavior on click |
Beta Was this translation helpful? Give feedback.
-
See my previous answer. To be more precise, the difficulty is about calls to Currently, Not super difficult, but "medium difficult" I would say - you have to understand properly how renaming is done. |
Beta Was this translation helpful? Give feedback.
-
Description
It would be great if the following dialog had a close button rather than having just apply!
Beta Was this translation helpful? Give feedback.
All reactions