daboide Commit
Revision 231
Date: 2005-11-10 12:37:27 -0800 (Thu, 10 Nov 2005)
Author: ed

Changed:
U   trunk/dEditor.py

Log:
Fixed problem introduced by change to the Position property.

Diff:
Modified: trunk/dEditor.py
===================================================================
--- trunk/dEditor.py    2005-11-10 17:10:14 UTC (rev 230)
+++ trunk/dEditor.py    2005-11-10 20:37:27 UTC (rev 231)
@@ -1206,7 +1206,8 @@
                        # open in a new editor
                        o = EditorForm(self.Parent)
                        o.restoreSizeAndPosition()
-                       o.Position = self.Position + (20,20)
+                       currX, currY = self.Position
+                       o.Position = (currX+20, currY+20)
                o.editor.newFile()
                o.Show()
 
@@ -1221,7 +1222,8 @@
                                # open in a new editor
                                o = EditorForm(self.Parent)
                                o.restoreSizeAndPosition()
-                               o.Position = self.Position + (20,20)
+                               currX, currY = self.Position
+                               o.Position = (currX+20, currY+20)
                        o.editor.newFile()
                        o.Show()
                        o.editor.openFile(fileName)




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev

Reply via email to