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>
This commit is contained in:
Gehad elrobey 2015-08-17 19:44:11 +02:00 committed by Lubomir I. Ivanov
parent b19d07c61c
commit 90852e114c

View file

@ -125,8 +125,8 @@ void TemplateEdit::saveSettings()
if (msgBox.exec() == QMessageBox::Save) { if (msgBox.exec() == QMessageBox::Save) {
memcpy(templateOptions, &newTemplateOptions, sizeof(struct template_options)); memcpy(templateOptions, &newTemplateOptions, sizeof(struct template_options));
if (grantlee_template.compare(ui->plainTextEdit->toPlainText())) { if (grantlee_template.compare(ui->plainTextEdit->toPlainText())) {
printOptions->p_template = "custom.html"; printOptions->p_template = "Custom.html";
TemplateLayout::writeTemplate("custom.html", ui->plainTextEdit->toPlainText()); TemplateLayout::writeTemplate("Custom.html", ui->plainTextEdit->toPlainText());
} }
if (templateOptions->color_palette_index == CUSTOM) { if (templateOptions->color_palette_index == CUSTOM) {
custom_colors = templateOptions->color_palette; custom_colors = templateOptions->color_palette;