diff --git a/qt-ui/printoptions.cpp b/qt-ui/printoptions.cpp index b143e49d0..48489bae5 100644 --- a/qt-ui/printoptions.cpp +++ b/qt-ui/printoptions.cpp @@ -108,6 +108,7 @@ void PrintOptions::on_importButton_clicked() tr("HTML files (*.html)")); QFileInfo fileInfo(filename); QFile::copy(filename, getSubsurfaceDataPath("printing_templates") + QDir::separator() + fileInfo.fileName()); + printOptions->p_template = fileInfo.fileName(); find_all_templates(); setup(); }