frank: thuban/Thuban/UI mainwindow.py,1.135,1.136

cvs@intevation.de cvs at intevation.de
Sun Jan 9 13:32:19 CET 2005


Author: frank

Update of /thubanrepository/thuban/Thuban/UI
In directory doto:/tmp/cvs-serv12215/Thuban/UI

Modified Files:
	mainwindow.py 
Log Message:
BugFix 2901: Explicitly copy layers ClassificationColumn since it
is not part of the layers Classification.


Index: mainwindow.py
===================================================================
RCS file: /thubanrepository/thuban/Thuban/UI/mainwindow.py,v
retrieving revision 1.135
retrieving revision 1.136
diff -u -d -r1.135 -r1.136
--- mainwindow.py	1 Oct 2004 18:22:32 -0000	1.135
+++ mainwindow.py	9 Jan 2005 12:32:17 -0000	1.136
@@ -653,6 +653,8 @@
                               layer.ShapeStore(),
                               projection = layer.GetProjection())
             new_classification = copy.deepcopy(layer.GetClassification())
+	    new_layer.SetClassificationColumn(
+	    			layer.GetClassificationColumn())
             new_layer.SetClassification(new_classification)
             self.Map().AddLayer(new_layer)
 





More information about the Thuban-devel mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)