[Schmitzm-commits] r1266 - branches/2.3.x/src/skrueger/geotools

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Nov 12 20:18:35 CET 2010


Author: alfonx
Date: 2010-11-12 20:18:35 +0100 (Fri, 12 Nov 2010)
New Revision: 1266

Modified:
   branches/2.3.x/src/skrueger/geotools/StyledFeatureCollectionTableModel.java
Log:
Fixed an exception that appeared when column settings where changed while the table with these columns was visible. Now the attribute table will not change until it is closed and reopened.

Modified: branches/2.3.x/src/skrueger/geotools/StyledFeatureCollectionTableModel.java
===================================================================
--- branches/2.3.x/src/skrueger/geotools/StyledFeatureCollectionTableModel.java	2010-11-12 19:17:47 UTC (rev 1265)
+++ branches/2.3.x/src/skrueger/geotools/StyledFeatureCollectionTableModel.java	2010-11-12 19:18:35 UTC (rev 1266)
@@ -103,7 +103,7 @@
 	@Override
 	public Object getValueAt(int row, int col) {
 		Object rawValue = super.getValueAt(row, col);
-		return amdMap.sortedValuesVisibleOnly().get(col).fiterNodata(rawValue);
+		return amdMapVisibleOnly.get(col).fiterNodata(rawValue);
 	}
 	
 	/**



More information about the Schmitzm-commits mailing list