diff options
author | Gehad elrobey <gehadelrobey@gmail.com> | 2015-08-17 19:44:11 +0200 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2015-08-22 18:32:28 +0300 |
commit | 90852e114c37897971d528c90be8350e494eb8cb (patch) | |
tree | 677cb9228b806c9270f960fafd2c19b106d6697a | |
parent | b19d07c61cc985eeaccf6cbf8b87db2e1dcfa774 (diff) | |
download | subsurface-90852e114c37897971d528c90be8350e494eb8cb.tar.gz |
Printing: fix typo in template name
Template names was capitalized, so change the file name to
"Custom.html" instead of "custom.html"
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
-rw-r--r-- | qt-ui/templateedit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-ui/templateedit.cpp b/qt-ui/templateedit.cpp index e4e6453ac..3315b12ef 100644 --- a/qt-ui/templateedit.cpp +++ b/qt-ui/templateedit.cpp @@ -125,8 +125,8 @@ void TemplateEdit::saveSettings() if (msgBox.exec() == QMessageBox::Save) { memcpy(templateOptions, &newTemplateOptions, sizeof(struct template_options)); if (grantlee_template.compare(ui->plainTextEdit->toPlainText())) { - printOptions->p_template = "custom.html"; - TemplateLayout::writeTemplate("custom.html", ui->plainTextEdit->toPlainText()); + printOptions->p_template = "Custom.html"; + TemplateLayout::writeTemplate("Custom.html", ui->plainTextEdit->toPlainText()); } if (templateOptions->color_palette_index == CUSTOM) { custom_colors = templateOptions->color_palette; |