Printing: rename the "base" template for consistency

Change the name of the template "base" to "two_dives" as this name
describes it better.

Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
This commit is contained in:
Gehad elrobey 2015-06-14 06:44:02 +02:00 committed by Lubomir I. Ivanov
parent 6c54781e17
commit 75263e3d2c
2 changed files with 1 additions and 1 deletions

View file

@ -63,7 +63,7 @@ QString TemplateLayout::generate()
if (PrintOptions->p_template == print_options::ONE_DIVE) {
templateName = "one_dive.html";
} else if (PrintOptions->p_template == print_options::TWO_DIVE) {
templateName = "base.html";
templateName = "two_dives.html";
}
Grantlee::Template t = m_engine->loadByName(templateName);
if (!t || t->error()) {