Tony CHEMIT pushed to branch develop-7.x at ultreiaio / ird-observe Commits: 9cbe3530 by tchemit at 2019-02-16T12:52:21Z Equipement bateau, bug sur suppression de caractéristique - Closes #1232 - - - - - 2 changed files: - client-core/src/main/java/fr/ird/observe/client/ui/content/data/longline/GearUseFeaturesLonglineUIHandler.java - client-core/src/main/java/fr/ird/observe/client/ui/content/data/seine/GearUseFeaturesSeineUIHandler.java Changes: ===================================== client-core/src/main/java/fr/ird/observe/client/ui/content/data/longline/GearUseFeaturesLonglineUIHandler.java ===================================== @@ -165,6 +165,9 @@ public class GearUseFeaturesLonglineUIHandler extends ContentTableUIHandler<Trip } private void selectCell(GearUseFeaturesLonglineUI ui, int selectedColumn, int selectedRow) { + if (selectedRow >= ui.getMeasurementsTableModel().getRowCount()) { + return; + } SwingUtilities.invokeLater(() -> { cellEditorAdjusting = true; try { ===================================== client-core/src/main/java/fr/ird/observe/client/ui/content/data/seine/GearUseFeaturesSeineUIHandler.java ===================================== @@ -165,6 +165,9 @@ public class GearUseFeaturesSeineUIHandler extends ContentTableUIHandler<TripSei } private void selectCell(GearUseFeaturesSeineUI ui, int selectedColumn, int selectedRow) { + if (selectedRow >= ui.getMeasurementsTableModel().getRowCount()) { + return; + } SwingUtilities.invokeLater(() -> { cellEditorAdjusting = true; try { View it on GitLab: https://gitlab.com/ultreiaio/ird-observe/commit/9cbe353019d9b2c0199dc9ce0d41... -- View it on GitLab: https://gitlab.com/ultreiaio/ird-observe/commit/9cbe353019d9b2c0199dc9ce0d41... You're receiving this email because of your account on gitlab.com.
participants (1)
-
Tony CHEMIT