Skip to content
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

Fixed group creation with default settings #4801

Merged
merged 7 commits into from
Apr 7, 2019
4 changes: 4 additions & 0 deletions src/main/java/org/jabref/gui/groups/GroupDialog.java
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,10 @@ groupName, getContext(),
return null;
});

nameField.textProperty().addListener((observable, oldValue, newValue) -> updateComponents());
keywordGroupSearchTerm.textProperty().addListener((observable, oldValue, newValue) -> updateComponents());
searchGroupSearchExpression.textProperty().addListener((observable, oldValue, newValue) -> updateComponents());

EventHandler<ActionEvent> actionHandler = (ActionEvent e) -> updateComponents();
nameField.setOnAction(actionHandler);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these obsolete now?

descriptionField.setOnAction(actionHandler);
Expand Down