Project/Project.py

changeset 816
53e282890577
parent 791
9ec2ac20e54e
child 833
89f29b985159
--- a/Project/Project.py	Thu Jan 06 18:59:49 2011 +0100
+++ b/Project/Project.py	Thu Jan 06 19:06:51 2011 +0100
@@ -3329,7 +3329,7 @@
         @param toolbarManager reference to a toolbar manager object (E5ToolBarManager)
         @return the toolbar generated (QToolBar)
         """
-        tb = QToolBar(self.trUtf8("Project"), self.parent())
+        tb = QToolBar(self.trUtf8("Project"), self.ui)
         tb.setIconSize(UI.Config.ToolBarIconSize)
         tb.setObjectName("ProjectToolbar")
         tb.setToolTip(self.trUtf8('Project'))

eric ide

mercurial