Commit d1a397d7 authored by Victor Yacovlev's avatar Victor Yacovlev

Painter: fixed new image from template

parent 1342a5a5
......@@ -204,7 +204,7 @@ void PainterWindow::newImage()
s_templateName = m_newImageDialog->templateFileName();
static const QString resourcesRoot = m_module->myResourcesDir().absolutePath();
if (m_newImageDialog->isTemplate()) {
m_module->runLoadPage(resourcesRoot+s_templateName);
m_module->runLoadPage(resourcesRoot+"/"+s_templateName);
}
else {
Color c = colorFromCss(m_newImageDialog->color());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment