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:
c3be701
)
If search results==null, displaySearch is false
author
amwaterhouse
<Andrew Waterhouse>
Wed, 1 Dec 2004 17:35:08 +0000
(17:35 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Wed, 1 Dec 2004 17:35:08 +0000
(17:35 +0000)
src/jalview/gui/SeqCanvas.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/SeqCanvas.java
b/src/jalview/gui/SeqCanvas.java
index
8785454
..
3850244
100755
(executable)
--- a/
src/jalview/gui/SeqCanvas.java
+++ b/
src/jalview/gui/SeqCanvas.java
@@
-401,8
+401,13
@@
public class SeqCanvas extends JPanel
public void highlightSearchResults(int [] results)
\r
{
\r
// results are in the order sequence, startRes, endRes
\r
+ if(results==null)
\r
+ displaySearch = false;
\r
+ else
\r
+ displaySearch = true;
\r
+
\r
searchResults = results;
\r
- displaySearch = true;
\r
+
\r
paintFlag = true;
\r
repaint();
\r
}
\r