From 85b1da6bacda804ed46f65d7242473bc62edfb97 Mon Sep 17 00:00:00 2001 From: Reino Ruusu Date: Thu, 24 Sep 2020 10:53:08 +0300 Subject: [PATCH] Fix error that hides last tech type table row. gitlab #93 Change-Id: I4ca2402f53b7a748ccd41ff964b5d09944994a5d --- .../network/ui/techtype/table/TechTypeTableDataProvider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.simantics.district.network.ui/src/org/simantics/district/network/ui/techtype/table/TechTypeTableDataProvider.java b/org.simantics.district.network.ui/src/org/simantics/district/network/ui/techtype/table/TechTypeTableDataProvider.java index 850cc39f..d6b0c7d2 100644 --- a/org.simantics.district.network.ui/src/org/simantics/district/network/ui/techtype/table/TechTypeTableDataProvider.java +++ b/org.simantics.district.network.ui/src/org/simantics/district/network/ui/techtype/table/TechTypeTableDataProvider.java @@ -66,7 +66,7 @@ public class TechTypeTableDataProvider implements IDataProvider { @Override public int getRowCount() { - return filteredRecords.size() - 1; + return filteredRecords.size(); } public boolean isEditable(int columnIndex, int rowIndex) { -- 2.47.1