fix NPE in checklist editor
[taxeditor.git] / eu.etaxonomy.taxeditor.editor / src / main / java / eu / etaxonomy / taxeditor / editor / view / checklist / ChecklistEditor.java
index cdecde04a0e8e248afbcace4e134729bc470c3e0..7cdb3ea6ebbe7631109c7b3d08f11b37d1f72700 100644 (file)
@@ -358,7 +358,7 @@ public class ChecklistEditor extends EditorPart implements ISelectionListener, I
                /** uncommented it for now because no rank editing is wanted **/
 //                column.setEditingSupport(new RankEditingSupport(viewer, this));
             }
-            if (columnIndex >= 3) {
+            if (columnIndex >= 4) {
                 //read PrefrenceStore to setWidth according to last saved state
                 if(restoreValuesForColumnWidth.get(columnIndex)){
                     column.getColumn().setWidth(100);