fr = Math.min(cXci.cStart, cXci.cEnd);
to = Math.max(cXci.cStart, cXci.cEnd);
- if (evt.isControlDown())
+ // double click selects the whole group
+ if (evt.getClickCount()==2)
{
ContactMatrixI matrix = av.getContactMatrix(clicked);
// PAE SPECIFIC
// and also select everything lower than the max range adjacent
// (kind of works)
- if (PAEContactMatrix.PAEMATRIX.equals(clicked.getCalcId()))
+ if (evt.isControlDown() && PAEContactMatrix.PAEMATRIX.equals(clicked.getCalcId()))
{
int c = fr - 1;
ContactRange cr = forCurrentX.getRangeFor(fr, to);