From 71f3d4cbe46c98c57356194dfe4b781561a0cd2e Mon Sep 17 00:00:00 2001 From: Dominik Voigt Date: Tue, 24 Nov 2020 23:43:55 +0100 Subject: [PATCH] Fix binding issue for the regex and case sensitive search buttons Signed-off-by: Dominik Voigt --- src/main/java/org/jabref/gui/search/GlobalSearchBar.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/org/jabref/gui/search/GlobalSearchBar.java b/src/main/java/org/jabref/gui/search/GlobalSearchBar.java index 9cc91baeee27..e68e903b08f1 100644 --- a/src/main/java/org/jabref/gui/search/GlobalSearchBar.java +++ b/src/main/java/org/jabref/gui/search/GlobalSearchBar.java @@ -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);