Skip to content

Commit

Permalink
Drawing: reset the default template to the classic one
Browse files Browse the repository at this point in the history
  • Loading branch information
yorikvanhavre committed Feb 10, 2015
1 parent b67405e commit 9f40bf1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/Mod/Drawing/Gui/Command.cpp
Expand Up @@ -175,8 +175,11 @@ Gui::Action * CmdDrawingNewPage::createAction(void)
a->setProperty("Template", dir.absoluteFilePath(dir[i]));

if (id == 3) {
defaultAction = a;
defaultId = pcAction->actions().size() - 1;
if (!defaultAction) {
// set the first found A3 (A3_Landscape) as default
defaultAction = a;
defaultId = pcAction->actions().size() - 1;
}
}
}
}
Expand Down

0 comments on commit 9f40bf1

Please sign in to comment.