Graphics/ApplicationDiagram.py

changeset 248
f4561c24989a
parent 96
9624a110667d
child 413
3d82e6eb3516
child 792
a13346916170
diff -r b3da30a52337 -r f4561c24989a Graphics/ApplicationDiagram.py
--- a/Graphics/ApplicationDiagram.py	Fri May 14 17:23:52 2010 +0200
+++ b/Graphics/ApplicationDiagram.py	Fri May 14 17:26:38 2010 +0200
@@ -85,7 +85,8 @@
         """
         Private method to build the packages shapes of the diagram.
         """
-        project = os.path.splitdrive(self.project.ppath)[1].replace(os.sep, '.')[1:]
+        project = os.path.splitdrive(self.project.getProjectPath())[1]\
+            .replace(os.sep, '.')[1:]
         packages = {}
         shapes = {}
         p = 10

eric ide

mercurial