Author: oriol
Date: 2012-07-26 03:07:26 -0700 (Thu, 26 Jul 2012)
New Revision: 29998

Modified:
   
core3/impl/trunk/table-import-impl/src/main/java/org/cytoscape/tableimport/internal/ui/ImportTablePanel.java
Log:
Small change to fix problem when loading tables. There was always a row(the 
first one) that was not loaded

Modified: 
core3/impl/trunk/table-import-impl/src/main/java/org/cytoscape/tableimport/internal/ui/ImportTablePanel.java
===================================================================
--- 
core3/impl/trunk/table-import-impl/src/main/java/org/cytoscape/tableimport/internal/ui/ImportTablePanel.java
        2012-07-26 00:52:31 UTC (rev 29997)
+++ 
core3/impl/trunk/table-import-impl/src/main/java/org/cytoscape/tableimport/internal/ui/ImportTablePanel.java
        2012-07-26 10:07:26 UTC (rev 29998)
@@ -2695,8 +2695,8 @@
        }
        public int getStartLineNumber(){
                if (isFirstRowTitle())
-                       return 
Integer.parseInt(startRowSpinner.getValue().toString()) + 1 ;
-               return Integer.parseInt(startRowSpinner.getValue().toString());
+                       return 
Integer.parseInt(startRowSpinner.getValue().toString())  ;
+               return 
Integer.parseInt(startRowSpinner.getValue().toString())-1;
        }
        public String getCommentlinePrefix(){
                return commentLineTextField.getText();

-- 
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cytoscape-cvs?hl=en.

Reply via email to