jan: thuban/Thuban/UI mainwindow.py,1.128,1.128.2.1

cvs@intevation.de cvs at intevation.de
Mon Jan 10 18:08:53 CET 2005


Author: jan

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

Modified Files:
      Tag: thuban-1-0-branch
	mainwindow.py 
Log Message:
Backport from HEAD:
BugFix for RT #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.128
retrieving revision 1.128.2.1
diff -u -d -r1.128 -r1.128.2.1
--- mainwindow.py	13 Feb 2004 10:46:44 -0000	1.128
+++ mainwindow.py	10 Jan 2005 17:08:50 -0000	1.128.2.1
@@ -619,6 +619,7 @@
                               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)