Use Std_New for new document creation at startup
so it uses the translated string
This commit is contained in:
committed by
Chris Hennes
parent
4f6f600a1f
commit
ceab81593d
@@ -1308,9 +1308,7 @@ void MainWindow::delayedStartup()
|
||||
ParameterGrp::handle hGrp = WindowParameter::getDefaultParameter()->GetGroup("Document");
|
||||
if (hGrp->GetBool("CreateNewDoc", false)) {
|
||||
if (App::GetApplication().getDocuments().empty()){
|
||||
App::GetApplication().newDocument();
|
||||
Gui::Command::doCommand(Gui::Command::Gui,
|
||||
"Gui.activeDocument().activeView().viewDefaultOrientation()");
|
||||
Application::Instance->commandManager().runCommandByName("Std_New");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user