diff --git a/src/main/java/net/sf/jabref/gui/IconTheme.java b/src/main/java/net/sf/jabref/gui/IconTheme.java index 38771301c0c..2177138bcca 100644 --- a/src/main/java/net/sf/jabref/gui/IconTheme.java +++ b/src/main/java/net/sf/jabref/gui/IconTheme.java @@ -157,8 +157,7 @@ public enum JabRefIcon { FORUM("\uf28c"), /* css: forum */ FACEBOOK("\uf20c"), /* css: facebook */ BLOG("\uf46b"), /* css: rss */ - GLOBAL_SEARCH_ON("\uF1E7"), /* css: earth */ - GLOBAL_SEARCH_OFF("\uF1E8"), /* css: earth-off */ + GLOBAL_SEARCH("\uF1E7"), /* css: earth */ // STILL MISSING: GROUP_REGULAR("\uF4E6", Color.RED); diff --git a/src/main/java/net/sf/jabref/gui/search/GlobalSearchBar.java b/src/main/java/net/sf/jabref/gui/search/GlobalSearchBar.java index 3328de0adad..d10bead4d5c 100644 --- a/src/main/java/net/sf/jabref/gui/search/GlobalSearchBar.java +++ b/src/main/java/net/sf/jabref/gui/search/GlobalSearchBar.java @@ -83,8 +83,7 @@ public GlobalSearchBar(JabRefFrame frame) { currentResults.setFont(currentResults.getFont().deriveFont(Font.BOLD)); searchField.setColumns(30); - JToggleButton globalSearch = new JToggleButton(IconTheme.JabRefIcon.GLOBAL_SEARCH_OFF.getSmallIcon(), searchPreferences.isGlobalSearch()); - globalSearch.setSelectedIcon(IconTheme.JabRefIcon.GLOBAL_SEARCH_ON.getSmallIcon()); + JToggleButton globalSearch = new JToggleButton(IconTheme.JabRefIcon.GLOBAL_SEARCH.getSmallIcon(), searchPreferences.isGlobalSearch()); globalSearch.setToolTipText(Localization.lang("Search globally")); globalSearch.addActionListener(e -> { searchPreferences.setGlobalSearch(globalSearch.isSelected());