-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use action handler #4726
Use action handler #4726
Conversation
Please fix the checkstlye issue (unused import) and it can be merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a small comment.
keywordGroupRegExp.setOnAction(actionHandler); | ||
searchGroupSearchExpression.setOnAction(actionHandler); | ||
searchGroupRegExp.setOnAction(actionHandler); | ||
searchGroupRegExp.setOnAction(actionHandler); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
searchGroupRegExp
is set twice (not your fault, was the case already in the existing code...)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
I found a problem in which the Add Group Dialog was processing text fields for each keystroke typed in them rather than when the user was done typing. This would throw errors when the user's partially-typed answer was invalid. I changed this by using
EventHandler
s instead ofListener
s.This may already have been fixed by the recent change to the dialog, but this PR shouldn't hurt anyway, since the fields will only be updated when the user is finished typing.