Skip to content

Commit

Permalink
Fix binding issue for the regex and case sensitive search buttons
Browse files Browse the repository at this point in the history
Signed-off-by: Dominik Voigt <dominik.ingo.voigt@gmail.com>
  • Loading branch information
DominikVoigt committed Nov 24, 2020
1 parent 350ec1f commit 71f3d4c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/java/org/jabref/gui/search/GlobalSearchBar.java
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,7 @@ public GlobalSearchBar(JabRefFrame frame, StateManager stateManager, Preferences
.or(regularExpressionButton.focusedProperty()
.or(caseSensitiveButton.focusedProperty()));
regularExpressionButton.visibleProperty().unbind();
regularExpressionButton.visibleProperty().bind(focusBinding);
caseSensitiveButton.visibleProperty().unbind();
caseSensitiveButton.visibleProperty().bind(focusBinding);

StackPane modifierButtons = new StackPane(new HBox(regularExpressionButton, caseSensitiveButton));
modifierButtons.setAlignment(Pos.CENTER);
Expand Down

0 comments on commit 71f3d4c

Please sign in to comment.