From 1e6103313cbfe37cbd360539ccde867ab657b625 Mon Sep 17 00:00:00 2001 From: Rene Gassmoeller Date: Fri, 19 May 2017 22:16:07 -0400 Subject: [PATCH] Prepopulate save file dialog --- mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5