+ fixes #0001350: error on line 1507 at column 1: Encoding error - Not possible to create a drawing in french language

This commit is contained in:
wmayer 2014-01-11 14:59:51 +01:00
parent a7b16c5748
commit 1b9f4e7b7a

View File

@ -210,7 +210,7 @@ void orthoView::setDir(int i)
if (active)
{
Command::doCommand(Command::Doc,"App.activeDocument().%s.Direction = (%d,%d,%d)",myname.c_str(),vx,vy,vz);
Command::doCommand(Command::Doc,"App.activeDocument().%s.Label = '%s'",myname.c_str(),number_to_name(i).toStdString().c_str());
Command::doCommand(Command::Doc,"App.activeDocument().%s.Label = '%s'",myname.c_str(),(const char*)number_to_name(i).toUtf8());
}
}