Drawing: reset the default template to the classic one
This commit is contained in:
parent
b67405e16e
commit
9f40bf1da9
|
@ -175,8 +175,11 @@ Gui::Action * CmdDrawingNewPage::createAction(void)
|
||||||
a->setProperty("Template", dir.absoluteFilePath(dir[i]));
|
a->setProperty("Template", dir.absoluteFilePath(dir[i]));
|
||||||
|
|
||||||
if (id == 3) {
|
if (id == 3) {
|
||||||
defaultAction = a;
|
if (!defaultAction) {
|
||||||
defaultId = pcAction->actions().size() - 1;
|
// set the first found A3 (A3_Landscape) as default
|
||||||
|
defaultAction = a;
|
||||||
|
defaultId = pcAction->actions().size() - 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user