summaryrefslogtreecommitdiffstats
path: root/templatelayout.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'templatelayout.cpp')
-rw-r--r--templatelayout.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/templatelayout.cpp b/templatelayout.cpp
index 8a03956f3..30919891a 100644
--- a/templatelayout.cpp
+++ b/templatelayout.cpp
@@ -23,6 +23,7 @@ int getTotalWork(print_options *printOptions)
void find_all_templates()
{
+ grantlee_templates.clear();
QDir dir(getSubsurfaceDataPath("printing_templates"));
QFileInfoList list = dir.entryInfoList(QDir::Files | QDir::NoDotAndDotDot);
foreach (QFileInfo finfo, list) {