Revision 23503 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/view/legend/gui/SingleSymbol.java

View differences:

SingleSymbol.java
228 228
		}
229 229
		if(symbol.getDescription() != null)
230 230
			txtLabel.setText(symbol.getDescription());
231
		else
232
			txtLabel.setText(" ("+PluginServices.getText(this, "current")+")");
231
//		else
232
//			txtLabel.setText(" ("+PluginServices.getText(this, "current")+")");
233 233
	}
234 234

  
235 235
	public ISymbol getSymbol() {
......
262 262
				PluginServices.getMDIManager().addWindow(sl);
263 263
				zSort = sl.getZSort();
264 264
			}
265
		}else if (c.equals(txtLabel)){
266
			getSymbolPreviewPanel().getSymbol().setDescription(txtLabel.getText());
265 267
		}
266 268
	}
267 269

  

Also available in: Unified diff