[Schmitzm-commits] r1026 - trunk/src/schmitzm/geotools/gui

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Sep 21 10:27:42 CEST 2010


Author: alfonx
Date: 2010-09-21 10:27:41 +0200 (Tue, 21 Sep 2010)
New Revision: 1026

Modified:
   trunk/src/schmitzm/geotools/gui/ColorMapTable.java
Log:
label column in ColorMapTable auch wieder editierbar

Modified: trunk/src/schmitzm/geotools/gui/ColorMapTable.java
===================================================================
--- trunk/src/schmitzm/geotools/gui/ColorMapTable.java	2010-09-20 22:03:19 UTC (rev 1025)
+++ trunk/src/schmitzm/geotools/gui/ColorMapTable.java	2010-09-21 08:27:41 UTC (rev 1026)
@@ -284,8 +284,8 @@
 		 *         durchsichtig ist.
 		 */
 		public boolean isCellEditable(int row, int col) {
-			return col == 0 || (col == 1 && (!(Boolean) getValueAt(row, 3)))
-					|| col == 3;
+			return col == 0 || (col == 1 && (!(Boolean) getValueAt(row, 3))) || col == 2
+					 || col == 3;
 		}
 
     /**



More information about the Schmitzm-commits mailing list