Index: /applications/editors/josm/plugins/public_transport/src/public_transport/RoutePatternAction.java
===================================================================
--- /applications/editors/josm/plugins/public_transport/src/public_transport/RoutePatternAction.java	(revision 26532)
+++ /applications/editors/josm/plugins/public_transport/src/public_transport/RoutePatternAction.java	(revision 26533)
@@ -1623,10 +1623,10 @@
                 Double.parseDouble(tfSuggestStopsLimit.getText()) * 9.0 / 1000000.0 )
               {
-            sr.role = (String)stoplistData.getValueAt(i, 1);
+            sr.role = (String)stoplistData.getValueAt(i, STOPLIST_ROLE_COLUMN);
             srm.addElement(sr);
               }
               else
               {
-            sr.role = (String)stoplistData.getValueAt(i, 1);
+            sr.role = (String)stoplistData.getValueAt(i, STOPLIST_ROLE_COLUMN);
             sr.index = segmentMetrics.size()*2;
             sr.pos = 0;
@@ -1655,10 +1655,10 @@
                   Double.parseDouble(tfSuggestStopsLimit.getText()) * 9.0 / 1000000.0 )
             {
-              sr.role = (String)stoplistData.getValueAt(i, 1);
+              sr.role = (String)stoplistData.getValueAt(i, STOPLIST_ROLE_COLUMN);
               srm.addElement(sr);
             }
             else
             {
-              sr.role = (String)stoplistData.getValueAt(i, 1);
+              sr.role = (String)stoplistData.getValueAt(i, STOPLIST_ROLE_COLUMN);
               sr.index = segmentMetrics.size()*2;
               sr.pos = 0;
@@ -1693,5 +1693,5 @@
           if (stoplistTable.isRowSelected(i))
           {
-            String role = (String)(stoplistData.getValueAt(i, 1));
+            String role = (String)(stoplistData.getValueAt(i, STOPLIST_ROLE_COLUMN));
             RelationMember markedNode = new RelationMember
             (role, stoplistData.nodes.elementAt(i));
@@ -1707,5 +1707,5 @@
         for (int i = stoplistData.getRowCount()-1; i >=0; --i)
         {
-          String role = (String)(stoplistData.getValueAt(i, 1));
+          String role = (String)(stoplistData.getValueAt(i, STOPLIST_ROLE_COLUMN));
           RelationMember markedNode = new RelationMember
               (role, stoplistData.nodes.elementAt(i));
@@ -1943,5 +1943,6 @@
     {
       RelationMember member = new RelationMember
-      ((String)(stoplistData.getValueAt(i, 1)), stoplistData.nodes.elementAt(i));
+          ((String)(stoplistData.getValueAt(i, STOPLIST_ROLE_COLUMN)),
+           stoplistData.nodes.elementAt(i));
       currentRoute.addMember(member);
     }
