Skip to content

Commit

Permalink
select whole word when selecting search bar (JabRef#2149)
Browse files Browse the repository at this point in the history
  • Loading branch information
chriba authored and zesaro committed Oct 27, 2016
1 parent 5239d12 commit a68e0bf
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ private void endSearch() {
public void focus() {
if (!searchField.hasFocus()) {
searchField.requestFocus();
searchField.selectAll();
}
}

Expand Down

0 comments on commit a68e0bf

Please sign in to comment.