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:
eb0eed3
)
clear selection once group defined
author
amwaterhouse
<Andrew Waterhouse>
Wed, 9 Mar 2005 18:40:15 +0000
(18:40 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Wed, 9 Mar 2005 18:40:15 +0000
(18:40 +0000)
src/jalview/gui/PopupMenu.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/PopupMenu.java
b/src/jalview/gui/PopupMenu.java
index
38c3250
..
c09093b
100755
(executable)
--- a/
src/jalview/gui/PopupMenu.java
+++ b/
src/jalview/gui/PopupMenu.java
@@
-324,6
+324,10
@@
public class PopupMenu extends JPopupMenu
if( superG !=null)
\r
superG.setSuperGroupProperties( sg );
\r
\r
+
\r
+ //once group is defined, remove selection rubberband
\r
+ ap.av.setRubberbandGroup(null);
\r
+
\r
ap.seqPanel.seqCanvas.paintFlag=true;
\r
ap.seqPanel.repaint();
\r
}
\r
@@
-490,6
+494,7
@@
public class PopupMenu extends JPopupMenu
\r
// this method won't add a new group if it already exists
\r
ap.av.alignment.addGroup(sg);
\r
+
\r
return sg;
\r
}
\r
\r