Project/PropertiesDialog.py

changeset 250
332afc99e9fa
parent 248
f4561c24989a
child 253
3ccdf551bde7
diff -r 52df4455a035 -r 332afc99e9fa Project/PropertiesDialog.py
--- a/Project/PropertiesDialog.py	Fri May 14 17:30:35 2010 +0200
+++ b/Project/PropertiesDialog.py	Fri May 14 19:58:57 2010 +0200
@@ -236,7 +236,7 @@
         self.project.pdata["VERSION"] = [self.versionEdit.text()]
         fn = self.mainscriptEdit.text()
         if fn:
-            fn = self.project.getRelativePath(fn2)
+            fn = self.project.getRelativePath(fn)
             self.project.pdata["MAINSCRIPT"] = [fn]
             self.project.translationsRoot = os.path.splitext(fn)[0]
         else:

eric ide

mercurial