Fixed a porting bug.

Sun, 24 Jan 2010 10:30:22 +0000

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 24 Jan 2010 10:30:22 +0000
changeset 83
b302c5816c1c
parent 82
78fc26d3e43b
child 84
277c4d00cfd6

Fixed a porting bug.

Project/PropertiesDialog.py file | annotate | diff | comparison | revisions
--- a/Project/PropertiesDialog.py	Sat Jan 23 15:34:56 2010 +0000
+++ b/Project/PropertiesDialog.py	Sun Jan 24 10:30:22 2010 +0000
@@ -186,8 +186,7 @@
         if fn:
             ppath = self.dirEdit.text()
             if ppath:
-                ppath = QDir(ppath).absolutePath()
-                ppath.append(QDir.separator())
+                ppath = QDir(ppath).absolutePath() + QDir.separator()
                 fn = fn.replace(ppath, "")
             self.mainscriptEdit.setText(Utilities.toNativeSeparators(fn))
         
@@ -257,4 +256,4 @@
             self.spellPropertiesDlg.storeData()
         
         if self.transPropertiesDlg is not None:
-            self.transPropertiesDlg.storeData()
\ No newline at end of file
+            self.transPropertiesDlg.storeData()

eric ide

mercurial