Fix possible IOOB exception
authorPatrick Plitzner <p.plitzner@bgbm.org>
Tue, 9 Oct 2018 12:58:18 +0000 (14:58 +0200)
committerPatrick Plitzner <p.plitzner@bgbm.org>
Tue, 9 Oct 2018 12:58:18 +0000 (14:58 +0200)
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/e4/BulkEditorTooltip.java

index 7b994cf33bb896c8b6618defc3ed950c4a046ba6..c50362d90f959a70f5696e9230501311a50061f1 100644 (file)
@@ -81,7 +81,7 @@ public class BulkEditorTooltip extends DefaultToolTip {
         }
 
         int rowIndex = this.natTable.getRowIndexByPosition(row);
-        if(rowIndex==0){
+        if(rowIndex==0 && col>0){
             return true;
         }
         return false;