git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56c4bbb
)
Return if no searchString
author
amwaterhouse
<Andrew Waterhouse>
Mon, 3 Oct 2005 11:07:55 +0000
(11:07 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Mon, 3 Oct 2005 11:07:55 +0000
(11:07 +0000)
src/jalview/gui/Finder.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/Finder.java
b/src/jalview/gui/Finder.java
index
ec45b0c
..
ff4fe60
100755
(executable)
--- a/
src/jalview/gui/Finder.java
+++ b/
src/jalview/gui/Finder.java
@@
-181,6
+181,8
@@
public class Finder extends GFinder
createNewGroup.setEnabled(false);
\r
\r
String searchString = textfield.getText().toUpperCase().trim();
\r
+ if(searchString.length()<1)
\r
+ return;
\r
\r
com.stevesoft.pat.Regex regex = new com.stevesoft.pat.Regex(searchString);
\r
\r