Browse Source

[fix] show the default filename in 'Export As' dialog (#35)

Xianzhong Wang 8 years ago
parent
commit
dc98b5ef00
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/vexporter.cpp

+ 1 - 1
src/vexporter.cpp

@@ -123,7 +123,7 @@ void VExporter::handleBrowseBtnClicked()
                        tr("Portable Document Format (*.pdf)") :
                        tr("WebPage, Complete (*.html)");
     QString path = QFileDialog::getSaveFileName(this, tr("Export As"),
-                                                fi.absolutePath(),
+                                                fi.absoluteFilePath(),
                                                 fileType);
     if (path.isEmpty()) {
         return;