JAL-1824 corrected copy'n'paste error introduced from JAL-1821 refactor which causes...
authortcofoegbu <tcnofoegbu@dundee.ac.uk>
Thu, 6 Aug 2015 10:40:15 +0000 (11:40 +0100)
committertcofoegbu <tcnofoegbu@dundee.ac.uk>
Thu, 6 Aug 2015 10:40:15 +0000 (11:40 +0100)
src/jalview/gui/StructureChooser.java
src/jalview/jbgui/GStructureChooser.java

index d5e4cbc..976b77b 100644 (file)
@@ -728,9 +728,10 @@ public class StructureChooser extends GStructureChooser
                 .toString()
                 .toLowerCase();
         pdbEntriesToView[count++] = cachedEntryMap.get(entryKey);
-        SequenceI selectedSeq = (SequenceI) tbl_summary.getValueAt(row,
+        SequenceI selectedSeq = (SequenceI) tbl_local_pdb.getValueAt(row,
                 refSeqColIndex);
         selectedSeqsToView.add(selectedSeq);
+
       }
       SequenceI[] selectedSeqs = selectedSeqsToView
               .toArray(new SequenceI[selectedSeqsToView.size()]);
index d335188..7daf09b 100644 (file)
@@ -238,7 +238,7 @@ public abstract class GStructureChooser extends JPanel implements
     cmb_filterOption.setFont(new java.awt.Font("Verdana", 0, 12));
     chk_invertFilter.setFont(new java.awt.Font("Verdana", 0, 12));
     chk_rememberSettings.setFont(new java.awt.Font("Verdana", 0, 12));
-
+    chk_rememberSettings.setVisible(false);
 
     txt_search.setToolTipText(MessageManager
             .getString("label.enter_pdb_id"));