Fixed an issue with the download dialog. 5_0_x

Sat, 29 May 2010 15:24:20 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 29 May 2010 15:24:20 +0200
branch
5_0_x
changeset 302
410271cb3675
parent 300
3b9f82a831f8
child 310
8f325b6b14ce

Fixed an issue with the download dialog.

Helpviewer/DownloadDialog.py file | annotate | diff | comparison | revisions
--- a/Helpviewer/DownloadDialog.py	Fri May 28 19:48:16 2010 +0200
+++ b/Helpviewer/DownloadDialog.py	Sat May 29 15:24:20 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