From: Rene Gassmoeller Date: Sat, 20 May 2017 02:16:07 +0000 (-0400) Subject: Prepopulate save file dialog X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e6103313cbfe37cbd360539ccde867ab657b625;p=parameter_gui.git Prepopulate save file dialog --- diff --git a/mainwindow.cpp b/mainwindow.cpp index 40b79e7..0001e9d 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -180,7 +180,7 @@ namespace dealii // open a file dialog QString file_name = QFileDialog::getSaveFileName(this, tr("Save Parameter File"), - QDir::currentPath(), + QDir::currentPath() + QDir::separator() + current_file, tr("XML Files (*.xml);;PRM Files (*.prm)")); // return if a file was saved