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:
parent
6c54781e17
commit
75263e3d2c
@ -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()) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user