summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/ui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'facetracknoir/ui.cpp')
-rw-r--r--facetracknoir/ui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/facetracknoir/ui.cpp b/facetracknoir/ui.cpp
index a7d41d45..b8f12490 100644
--- a/facetracknoir/ui.cpp
+++ b/facetracknoir/ui.cpp
@@ -152,6 +152,7 @@ void MainWindow::saveAs()
(void) QFile::remove(fileName);
{
+ (void) QFile::copy(oldFile, fileName);
QSettings settings(group::org);
settings.setValue (group::filename_key, fileName);
}