mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
fix crash when filtering layout combox with non-ascii character
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27207 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
e47d4dee70
commit
53fdda3e7a
@ -365,8 +365,9 @@ void GuiLayoutBox::setFilter(QString const & s)
|
||||
filterModel_->triggerLayoutChange();
|
||||
|
||||
if (!s.isEmpty())
|
||||
owner_.message(_("Filtering layouts with \"" + fromqstr(s) + "\". "
|
||||
"Press ESC to remove filter."));
|
||||
owner_.message(bformat(_("Filtering layouts with \"%1$s\". "
|
||||
"Press ESC to remove filter."),
|
||||
qstring_to_ucs4(s)));
|
||||
else
|
||||
owner_.message(_("Enter characters to filter the layout list."));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user