Graphics/PackageItem.py

changeset 1112
8a7d1b9d18db
parent 945
8cd4d08fa9f6
child 1509
c0b5e693b0eb
--- a/Graphics/PackageItem.py	Sat Jun 04 11:53:15 2011 +0200
+++ b/Graphics/PackageItem.py	Sun Jun 05 18:25:36 2011 +0200
@@ -7,8 +7,7 @@
 Module implementing a package item.
 """
 
-from PyQt4.QtCore import *
-from PyQt4.QtGui import *
+from PyQt4.QtGui import QFont, QGraphicsSimpleTextItem, QStyle
 
 from .UMLItem import UMLItem
 
@@ -33,7 +32,7 @@
         
         @param modulename module name to be added (string)
         """
-        self.moduleslist.append(classname)
+        self.moduleslist.append(modulename)
         
     def getModules(self):
         """

eric ide

mercurial