One more encoding problem

Uncovered after rebasing onto current master
This commit is contained in:
Lukas Matena 2020-02-21 12:50:26 +01:00
parent 91cabe5832
commit f60c117761

View file

@ -1302,7 +1302,7 @@ void GLCanvas3D::Labels::render(const std::vector<const ModelInstance*>& sorted_
return owner.model_instance_id == id;
});
if (it != owners.end())
it->print_order = _(L("Seq.")) + "#: " + std::to_string(i + 1);
it->print_order = std::string((_(L("Seq."))).ToUTF8()) + "#: " + std::to_string(i + 1);
}
}