The event of property change is generated twice on pressing the Enter
Bug #1538092 reported by
Danil Sokolov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Workcraft |
Fix Committed
|
Low
|
Danil Sokolov |
Bug Description
In the Property editor and in Settings editor the event of property change is generated twice when the user presses the Enter: first time due to the Enter being pressed and the second time due to the focus loss.
The focus loss must also generate this event, but only if no Enter was peressed.
A solution is to use the isTemporal() method of the FocusLost event to decide if the property change needs to be triggered.
Related branches
To post a comment you must log in.