mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Fix assert in all InsetParamsWidget's for unicode characters (bug #7017)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36194 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
624734cbb4
commit
7ff3e84c5d
@ -81,7 +81,7 @@ docstring GuiHyperlink::dialogToParams() const
|
||||
else if (fileRB->isChecked())
|
||||
params["type"] = qstring_to_ucs4("file:");
|
||||
params.setCmdName("href");
|
||||
return from_ascii(InsetHyperlink::params2string(params));
|
||||
return from_utf8(InsetHyperlink::params2string(params));
|
||||
}
|
||||
|
||||
|
||||
|
@ -54,7 +54,7 @@ docstring GuiLabel::dialogToParams() const
|
||||
{
|
||||
InsetCommandParams params(insetCode());
|
||||
params["name"] = qstring_to_ucs4(keywordED->text());
|
||||
return from_ascii(InsetLabel::params2string(params));
|
||||
return from_utf8(InsetLabel::params2string(params));
|
||||
}
|
||||
|
||||
|
||||
|
@ -56,7 +56,7 @@ docstring GuiNomenclature::dialogToParams() const
|
||||
QString description = descriptionTE->toPlainText();
|
||||
description.replace('\n',"\\\\");
|
||||
params["description"] = qstring_to_ucs4(description);
|
||||
return from_ascii(InsetNomencl::params2string(params));
|
||||
return from_utf8(InsetNomencl::params2string(params));
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user