Fixed an issue with the download dialog.

Sat, 29 May 2010 15:25:12 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 29 May 2010 15:25:12 +0200
changeset 303
17906f47712a
parent 301
77b8df3a0ba2
child 304
98429932e0c9

Fixed an issue with the download dialog.

Helpviewer/DownloadDialog.py file | annotate | diff | comparison | revisions
--- a/Helpviewer/DownloadDialog.py	Fri May 28 19:54:09 2010 +0200
+++ b/Helpviewer/DownloadDialog.py	Sat May 29 15:25:12 2010 +0200
@@ -139,7 +139,7 @@
             
             self.__autoOpen = res == QMessageBox.Open
             fileName = QDesktopServices.storageLocation(QDesktopServices.TempLocation) + \
-                        '/' + fileName
+                        '/' + QFileInfo(fileName).completeBaseName()
         
         if not self.__autoOpen and self.__requestFilename:
             fileName = QFileDialog.getSaveFileName(

eric ide

mercurial